![]() |
Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
|
Definition at line 35 of file highs_interface.cc.
Public Member Functions | |
| HighsInterface (MPSolver *solver, bool solve_as_a_mip) | |
| ~HighsInterface () override | |
| MPSolver::ResultStatus | Solve (const MPSolverParameters ¶m) override |
| bool | SupportsDirectlySolveProto (std::atomic< bool > *interrupt) const override |
| MPSolutionResponse | DirectlySolveProto (LazyMutableCopy< MPModelRequest > request, std::atomic< bool > *interrupt) override |
| void | Reset () override |
| void | SetOptimizationDirection (bool maximize) override |
| void | SetVariableBounds (int index, double lb, double ub) override |
| void | SetVariableInteger (int index, bool integer) override |
| void | SetConstraintBounds (int index, double lb, double ub) override |
| void | AddRowConstraint (MPConstraint *ct) override |
| void | AddVariable (MPVariable *var) override |
| void | SetCoefficient (MPConstraint *constraint, const MPVariable *variable, double new_value, double old_value) override |
| void | ClearConstraint (MPConstraint *constraint) override |
| void | SetObjectiveCoefficient (const MPVariable *variable, double coefficient) override |
| void | SetObjectiveOffset (double value) override |
| void | ClearObjective () override |
| int64_t | iterations () const override |
| int64_t | nodes () const override |
| 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 |
| std::string | SolverVersion () const override |
| void * | underlying_solver () override |
| void | ExtractNewVariables () override |
| void | ExtractNewConstraints () override |
| void | ExtractObjective () override |
| void | SetParameters (const MPSolverParameters ¶m) override |
| void | SetRelativeMipGap (double value) override |
| void | SetPrimalTolerance (double value) override |
| void | SetDualTolerance (double value) override |
| void | SetPresolveMode (int value) override |
| void | SetScalingMode (int value) override |
| void | SetLpAlgorithm (int value) override |
| bool | SetSolverSpecificParametersAsString (const std::string ¶meters) override |
| absl::Status | SetNumThreads (int num_threads) override |
| Public Member Functions inherited from operations_research::MPSolverInterface | |
| MPSolverInterface (MPSolver *solver) | |
| virtual | ~MPSolverInterface () |
| virtual void | Write (const std::string &filename) |
| 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 | ComputeExactConditionNumber () const |
| virtual void | SetStartingLpBasis (const std::vector< MPSolver::BasisStatus > &, const std::vector< MPSolver::BasisStatus > &) |
| virtual double | infinity () |
| virtual bool | InterruptSolve () |
| virtual bool | NextSolution () |
| virtual void | SetCallback (MPCallback *) |
| virtual bool | SupportsCallbacks () const |
|
explicit |
Definition at line 107 of file highs_interface.cc.
|
override |
Definition at line 110 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 188 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 192 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 202 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 215 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 233 of file highs_interface.cc.
|
inlineoverridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 47 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 253 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 251 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 255 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 239 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 241 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 243 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 217 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 221 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 167 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 227 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 196 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 184 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 272 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 274 of file highs_interface.cc.
|
overridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 261 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 206 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 211 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 172 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 257 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 276 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 271 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 275 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 273 of file highs_interface.cc.
|
overridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 278 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 176 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 180 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 112 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 245 of file highs_interface.cc.
|
inlineoverridevirtual |
Reimplemented from operations_research::MPSolverInterface.
Definition at line 44 of file highs_interface.cc.
|
overridevirtual |
Implements operations_research::MPSolverInterface.
Definition at line 249 of file highs_interface.cc.