Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
void | Dispose () |
void | OverwriteModel (ModelBuilderHelper other_helper) |
bool | ReadModelFromProtoFile (string filename) |
bool | WriteModelToProtoFile (string filename) |
bool | ImportFromMpsString (string mps_string) |
bool | ImportFromMpsFile (string mps_file) |
bool | ImportFromLpString (string lp_string) |
bool | ImportFromLpFile (string lp_file) |
int | AddVar () |
void | SetVarLowerBound (int var_index, double lb) |
void | SetVarUpperBound (int var_index, double ub) |
void | SetVarIntegrality (int var_index, bool is_integer) |
void | SetVarObjectiveCoefficient (int var_index, double coeff) |
void | SetVarName (int var_index, string name) |
double | VarLowerBound (int var_index) |
double | VarUpperBound (int var_index) |
bool | VarIsIntegral (int var_index) |
double | VarObjectiveCoefficient (int var_index) |
string | VarName (int var_index) |
double | ConstraintLowerBound (int ct_index) |
double | ConstraintUpperBound (int ct_index) |
int | AddLinearConstraint () |
string | ConstraintName (int ct_index) |
double[] | ConstraintCoefficients (int ct_index) |
int[] | ConstraintVarIndices (int ct_index) |
void | AddConstraintTerm (int ct_index, int var_index, double coeff) |
void | ClearConstraintTerms (int ct_index) |
void | SafeAddConstraintTerm (int ct_index, int var_index, double coeff) |
void | SetConstraintCoefficient (int ct_index, int var_index, double coeff) |
void | SetConstraintLowerBound (int ct_index, double lb) |
void | SetConstraintName (int ct_index, string name) |
void | SetConstraintUpperBound (int ct_index, double ub) |
bool | EnforcedIndicatorValue (int ct_index) |
bool | IsEnforcedConstraint (int ct_index) |
double | EnforcedConstraintLowerBound (int ct_index) |
double | EnforcedConstraintUpperBound (int ct_index) |
int | AddEnforcedLinearConstraint () |
int | EnforcedIndicatorVariableIndex (int ct_index) |
string | EnforcedConstraintName (int ct_index) |
double[] | EnforcedConstraintCoefficients (int ct_index) |
int[] | EnforcedConstraintVarIndices (int ct_index) |
void | AddEnforcedConstraintTerm (int ct_index, int var_index, double coeff) |
void | ClearEnforcedConstraintTerms (int ct_index) |
void | SafeAddEnforcedConstraintTerm (int ct_index, int var_index, double coeff) |
void | SetEnforcedConstraintCoefficient (int ct_index, int var_index, double coeff) |
void | SetEnforcedConstraintLowerBound (int ct_index, double lb) |
void | SetEnforcedConstraintName (int ct_index, string name) |
void | SetEnforcedConstraintUpperBound (int ct_index, double ub) |
void | SetEnforcedIndicatorValue (int ct_index, bool positive) |
void | SetEnforcedIndicatorVariableIndex (int ct_index, int var_index) |
int | ConstraintsCount () |
int | VariablesCount () |
string | Name () |
void | SetName (string name) |
void | ClearObjective () |
bool | Maximize () |
void | SetMaximize (bool maximize) |
double | ObjectiveOffset () |
void | SetObjectiveOffset (double offset) |
void | ClearHints () |
void | AddHint (int var_index, double var_value) |
string | ExportToMpsString (bool obfuscate) |
string | ExportToLpString (bool obfuscate) |
bool | WriteToMpsFile (string filename, bool obfuscate) |
ModelBuilderHelper () | |
Protected Member Functions | |
virtual void | Dispose (bool disposing) |
Protected Attributes | |
bool | swigCMemOwn |
Definition at line 15 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 389 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 198 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 286 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 247 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 369 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 164 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 103 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 202 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 290 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 365 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 343 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 174 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 154 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 169 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 323 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 159 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 186 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 45 of file ModelBuilderHelper.cs.
|
inlineprotectedvirtual |
Definition at line 50 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 262 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 237 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 257 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 242 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 274 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 227 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 252 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 378 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 373 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 97 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 91 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 85 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 79 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 232 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 347 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 333 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 356 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 62 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 67 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 206 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 294 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 210 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 214 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 218 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 223 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 298 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 302 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 306 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 311 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 315 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 319 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 352 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 338 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 361 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 116 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 108 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 124 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 120 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 112 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 328 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 139 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 129 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 149 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 144 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 134 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 73 of file ModelBuilderHelper.cs.
|
inline |
Definition at line 383 of file ModelBuilderHelper.cs.
|
protected |
Definition at line 17 of file ModelBuilderHelper.cs.