![]() |
OR-Tools
8.2
|
Definition at line 32 of file feasibility_pump.h.
Public Types | |
typedef glop::RowIndex | ConstraintIndex |
Public Member Functions | |
FeasibilityPump (Model *model) | |
~FeasibilityPump () | |
void | SetMaxFPIterations (int max_iter) |
void | AddLinearConstraint (const LinearConstraint &ct) |
void | SetObjectiveCoefficient (IntegerVariable ivar, IntegerValue coeff) |
bool | HasLPSolution () const |
double | LPSolutionObjectiveValue () const |
double | GetLPSolutionValue (IntegerVariable variable) const |
bool | LPSolutionIsInteger () const |
double | LPSolutionFractionality () const |
bool | HasIntegerSolution () const |
int64 | IntegerSolutionObjectiveValue () const |
bool | IntegerSolutionIsFeasible () const |
int64 | GetIntegerSolutionValue (IntegerVariable variable) const |
bool | Solve () |
typedef glop::RowIndex ConstraintIndex |
Definition at line 37 of file feasibility_pump.h.
|
explicit |
Definition at line 37 of file feasibility_pump.cc.
~FeasibilityPump | ( | ) |
Definition at line 59 of file feasibility_pump.cc.
void AddLinearConstraint | ( | const LinearConstraint & | ct | ) |
Definition at line 64 of file feasibility_pump.cc.
int64 GetIntegerSolutionValue | ( | IntegerVariable | variable | ) | const |
Definition at line 428 of file feasibility_pump.cc.
double GetLPSolutionValue | ( | IntegerVariable | variable | ) | const |
Definition at line 416 of file feasibility_pump.cc.
|
inline |
Definition at line 63 of file feasibility_pump.h.
|
inline |
Definition at line 54 of file feasibility_pump.h.
|
inline |
Definition at line 67 of file feasibility_pump.h.
|
inline |
Definition at line 64 of file feasibility_pump.h.
|
inline |
Definition at line 58 of file feasibility_pump.h.
|
inline |
Definition at line 57 of file feasibility_pump.h.
|
inline |
Definition at line 55 of file feasibility_pump.h.
|
inline |
Definition at line 39 of file feasibility_pump.h.
void SetObjectiveCoefficient | ( | IntegerVariable | ivar, |
IntegerValue | coeff | ||
) |
Definition at line 90 of file feasibility_pump.cc.
bool Solve | ( | ) |
Definition at line 143 of file feasibility_pump.cc.