![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 299 of file xpress_interface.cc.
Public Member Functions | |
| XpressInterface (MPSolver *solver, bool mip) | |
| ~XpressInterface () override | |
| void | SetOptimizationDirection (bool maximize) override |
| MPSolver::ResultStatus | Solve (MPSolverParameters const ¶m) override |
| void | Write (const std::string &filename) override |
| void | Reset () override |
| void | SetVariableBounds (int var_index, double lb, double ub) override |
| void | SetVariableInteger (int var_index, bool integer) override |
| void | SetConstraintBounds (int row_index, double lb, double ub) override |
| void | AddRowConstraint (MPConstraint *ct) override |
| void | AddVariable (MPVariable *var) override |
| void | SetCoefficient (MPConstraint *constraint, MPVariable const *variable, double new_value, double old_value) override |
| void | ClearConstraint (MPConstraint *constraint) override |
| void | SetObjectiveCoefficient (MPVariable const *variable, double coefficient) override |
| void | SetObjectiveOffset (double value) override |
| void | ClearObjective () override |
| virtual int64_t | iterations () const |
| virtual int64_t | nodes () const |
| MPSolver::BasisStatus | row_status (int constraint_index) const override |
| MPSolver::BasisStatus | column_status (int variable_index) const override |
| bool | IsContinuous () const override |
| bool | IsLP () const override |
| bool | IsMIP () const override |
| void | SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > &variable_statuses, const std::vector< MPSolver::BasisStatus > &constraint_statuses) override |
| void | ExtractNewVariables () override |
| void | ExtractNewConstraints () override |
| void | ExtractObjective () override |
| std::string | SolverVersion () const override |
| void * | underlying_solver () override |
| double | ComputeExactConditionNumber () const override |
| void | SetCallback (MPCallback *mp_callback) override |
| bool | SupportsCallbacks () const override |
| bool | InterruptSolve () override |
| Public Member Functions inherited from operations_research::MPSolverInterface | |
| MPSolverInterface (MPSolver *solver) | |
| virtual | ~MPSolverInterface () |
| virtual bool | SupportsDirectlySolveProto (std::atomic< bool > *) const |
| virtual MPSolutionResponse | DirectlySolveProto (LazyMutableCopy< MPModelRequest >, std::atomic< bool > *) |
| virtual bool | AddIndicatorConstraint (MPConstraint *const) |
| virtual void | BranchingPriorityChangedForVariable (int) |
| double | best_objective_bound () const |
| double | objective_value () const |
| bool | CheckSolutionIsSynchronized () const |
| virtual bool | CheckSolutionExists () const |
| bool | CheckSolutionIsSynchronizedAndExists () const |
| int | last_variable_index () const |
| bool | variable_is_extracted (int var_index) const |
| void | set_variable_as_extracted (int var_index, bool extracted) |
| bool | constraint_is_extracted (int ct_index) const |
| void | set_constraint_as_extracted (int ct_index, bool extracted) |
| bool | quiet () const |
| void | set_quiet (bool quiet_value) |
| MPSolver::ResultStatus | result_status () const |
| virtual double | infinity () |
| virtual bool | NextSolution () |
Additional Inherited Members | |
| Public Types inherited from operations_research::MPSolverInterface | |
| enum | SynchronizationStatus { MUST_RELOAD , MODEL_SYNCHRONIZED , SOLUTION_SYNCHRONIZED } |
| Static Public Attributes inherited from operations_research::MPSolverInterface | |
| static constexpr int64_t | kUnknownNumberOfIterations = -1 |
| static constexpr int64_t | kUnknownNumberOfNodes = -1 |
| Protected Attributes inherited from operations_research::MPSolverInterface | |
| MPSolver *const | solver_ |
| SynchronizationStatus | sync_status_ |
| MPSolver::ResultStatus | result_status_ |
| bool | maximize_ |
| int | last_constraint_index_ |
| int | last_variable_index_ |
| double | objective_value_ |
| double | best_objective_bound_ |
| bool | quiet_ |
| Static Protected Attributes inherited from operations_research::MPSolverInterface | |
| static const int | kDummyVariableIndex = 0 |
|
explicit |
Definition at line 840 of file xpress_interface.cc.
|
override |
Definition at line 860 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1062 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1076 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1126 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1196 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1309 of file xpress_interface.cc.
|
inlineoverridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 372 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1509 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1334 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1608 of file xpress_interface.cc.
|
inlineoverridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 388 of file xpress_interface.cc.
|
inlineoverridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 356 of file xpress_interface.cc.
|
inlineoverridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 357 of file xpress_interface.cc.
|
inlineoverridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 358 of file xpress_interface.cc.
|
virtual |
Implements operations_research::MPSolverInterface.
Definition at line 1231 of file xpress_interface.cc.
|
virtual |
Implements operations_research::MPSolverInterface.
Definition at line 1236 of file xpress_interface.cc.
|
protectedvirtual |
Definition at line 1784 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 885 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1284 of file xpress_interface.cc.
|
overridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 2212 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1092 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1023 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1656 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1694 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1167 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1190 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 900 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1637 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1660 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1652 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1643 of file xpress_interface.cc.
|
overrideprotectedvirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1675 of file xpress_interface.cc.
|
overridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 1727 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 905 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 934 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 1795 of file xpress_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 865 of file xpress_interface.cc.
|
inlineoverridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 386 of file xpress_interface.cc.
|
inlineoverridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 370 of file xpress_interface.cc.
|
protectedvirtual |
Definition at line 1791 of file xpress_interface.cc.
|
overridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 2086 of file xpress_interface.cc.