| 119 | } |
| 120 | |
| 121 | String 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 | |
| 128 | void MILPEncoder::encodeEquation( GurobiWrapper &gurobi, const Equation &equation ) |
| 129 | { |
no test coverage detected