CGRA-ME
|
#include <CGRA/ConstraintSet.h>
Go to the source code of this file.
Functions | |
ConstraintCache | addConstraintsImpl (ConstraintCache &&cache, const ConstraintGenerators &constraint_generators, int verbosity, ConstraintDest destination, const ConstraintAddConf &add_conf, GRBCallbackPublic *cb, GRBModel *model) |
std::string | makeNameSolverSafe (std::string s) |
ConstraintCache addConstraintsImpl | ( | ConstraintCache && | cache, |
const ConstraintGenerators & | constraint_generators, | ||
int | verbosity, | ||
ConstraintDest | destination, | ||
const ConstraintAddConf & | add_conf, | ||
GRBCallbackPublic * | cb, | ||
GRBModel * | model | ||
) |
Definition at line 13 of file ConstraintSet.cpp.
std::string makeNameSolverSafe | ( | std::string | s | ) |
Take s
and make sure its length is at most GUROBI_MAX_STRING_LENGTH. Result can be assumed to be unique, and will be mostly a character sub-sequence of s
Colons are not allowed in the .lp file spec, so they are replaced too.
Definition at line 126 of file ConstraintSet.cpp.