MCPcopy Create free account
hub / github.com/NeuralNetworkVerification/Marabou / getVariableNameFromVariable

Method getVariableNameFromVariable

src/engine/MILPEncoder.cpp:121–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119}
120
121String MILPEncoder::getVariableNameFromVariable( unsigned variable )
122{
123 if ( !_variableToVariableName.exists( variable ) )
124 throw CommonError( CommonError::KEY_DOESNT_EXIST_IN_MAP );
125 return _variableToVariableName[variable];
126}
127
128void MILPEncoder::encodeEquation( GurobiWrapper &gurobi, const Equation &equation )
129{

Callers 2

Calls 2

CommonErrorClass · 0.85
existsMethod · 0.45

Tested by

no test coverage detected