![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 240 of file scip_interface.cc.
Public Member Functions | |
| ScipConstraintHandlerForMPCallback (MPCallback *mp_callback) | |
| std::vector< CallbackRangeConstraint > | SeparateFractionalSolution (const ScipConstraintHandlerContext &context, const EmptyStruct &) override |
| std::vector< CallbackRangeConstraint > | SeparateIntegerSolution (const ScipConstraintHandlerContext &context, const EmptyStruct &) override |
| MPCallback * | mp_callback () const |
| Public Member Functions inherited from operations_research::ScipConstraintHandler< EmptyStruct > | |
| ScipConstraintHandler (const ScipConstraintHandlerDescription &description) | |
| virtual | ~ScipConstraintHandler () |
| const ScipConstraintHandlerDescription & | description () const |
| virtual bool | FractionalSolutionFeasible (const ScipConstraintHandlerContext &context, const EmptyStruct &constraint) |
| Returns true if no constraints are violated. | |
| virtual bool | IntegerSolutionFeasible (const ScipConstraintHandlerContext &context, const EmptyStruct &constraint) |
| This MUST find a violated constraint if one exists. | |
|
explicit |
Definition at line 1135 of file scip_interface.cc.
|
inline |
Definition at line 251 of file scip_interface.cc.
|
overridevirtual |
Unless SeparateIntegerSolution() below is overridden, this must find a violated lazy constraint if one exists when given an integral solution.
Implements operations_research::ScipConstraintHandler< EmptyStruct >.
Definition at line 1141 of file scip_interface.cc.
|
overridevirtual |
This MUST find a violated lazy constraint if one exists. All constraints returned must have is_cut as false.
Reimplemented from operations_research::ScipConstraintHandler< EmptyStruct >.
Definition at line 1147 of file scip_interface.cc.