
|
| | CplexInterface (MPSolver *const solver, bool mip) |
| | ~CplexInterface () |
| virtual void | SetOptimizationDirection (bool maximize) |
| virtual MPSolver::ResultStatus | Solve (MPSolverParameters const ¶m) |
| virtual void | Reset () |
| virtual void | SetVariableBounds (int var_index, double lb, double ub) |
| virtual void | SetVariableInteger (int var_index, bool integer) |
| virtual void | SetConstraintBounds (int row_index, double lb, double ub) |
| virtual void | AddRowConstraint (MPConstraint *const ct) |
| virtual void | AddVariable (MPVariable *const var) |
| virtual void | SetCoefficient (MPConstraint *const constraint, MPVariable const *const variable, double new_value, double old_value) |
| virtual void | ClearConstraint (MPConstraint *const constraint) |
| virtual void | SetObjectiveCoefficient (MPVariable const *const variable, double coefficient) |
| virtual void | SetObjectiveOffset (double value) |
| virtual void | ClearObjective () |
| virtual int64_t | iterations () const |
| virtual int64_t | nodes () const |
| virtual MPSolver::BasisStatus | row_status (int constraint_index) const |
| virtual MPSolver::BasisStatus | column_status (int variable_index) const |
| virtual bool | IsContinuous () const |
| virtual bool | IsLP () const |
| virtual bool | IsMIP () const |
| bool | SetSolverSpecificParametersAsString (const std::string ¶meters) override |
| virtual void | ExtractNewVariables () |
| virtual void | ExtractNewConstraints () |
| virtual void | ExtractObjective () |
| virtual std::string | SolverVersion () const |
| virtual void * | underlying_solver () |
| virtual double | ComputeExactConditionNumber () const |
| 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 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 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 |
| operations_research::CplexInterface::CplexInterface |
( |
MPSolver *const | solver, |
|
|
bool | mip ) |
|
explicit |
◆ ~CplexInterface()
| operations_research::CplexInterface::~CplexInterface |
( |
| ) |
|
◆ AddRowConstraint()
| void operations_research::CplexInterface::AddRowConstraint |
( |
MPConstraint *const | ct | ) |
|
|
virtual |
◆ AddVariable()
| void operations_research::CplexInterface::AddVariable |
( |
MPVariable *const | var | ) |
|
|
virtual |
◆ ClearConstraint()
| void operations_research::CplexInterface::ClearConstraint |
( |
MPConstraint *const | constraint | ) |
|
|
virtual |
◆ ClearObjective()
| void operations_research::CplexInterface::ClearObjective |
( |
| ) |
|
|
virtual |
◆ column_status()
◆ ComputeExactConditionNumber()
| virtual double operations_research::CplexInterface::ComputeExactConditionNumber |
( |
| ) |
const |
|
inlinevirtual |
◆ ExtractNewConstraints()
| void operations_research::CplexInterface::ExtractNewConstraints |
( |
| ) |
|
|
virtual |
◆ ExtractNewVariables()
| void operations_research::CplexInterface::ExtractNewVariables |
( |
| ) |
|
|
virtual |
◆ ExtractObjective()
| void operations_research::CplexInterface::ExtractObjective |
( |
| ) |
|
|
virtual |
◆ IsContinuous()
| virtual bool operations_research::CplexInterface::IsContinuous |
( |
| ) |
const |
|
inlinevirtual |
◆ IsLP()
| virtual bool operations_research::CplexInterface::IsLP |
( |
| ) |
const |
|
inlinevirtual |
◆ IsMIP()
| virtual bool operations_research::CplexInterface::IsMIP |
( |
| ) |
const |
|
inlinevirtual |
◆ iterations()
| int64_t operations_research::CplexInterface::iterations |
( |
| ) |
const |
|
virtual |
◆ nodes()
| int64_t operations_research::CplexInterface::nodes |
( |
| ) |
const |
|
virtual |
◆ ReadParameterFile()
| bool operations_research::CplexInterface::ReadParameterFile |
( |
std::string const & | filename | ) |
|
|
protectedvirtual |
◆ Reset()
| void operations_research::CplexInterface::Reset |
( |
| ) |
|
|
virtual |
◆ row_status()
◆ SetCoefficient()
| void operations_research::CplexInterface::SetCoefficient |
( |
MPConstraint *const | constraint, |
|
|
MPVariable const *const | variable, |
|
|
double | new_value, |
|
|
double | old_value ) |
|
virtual |
◆ SetConstraintBounds()
| void operations_research::CplexInterface::SetConstraintBounds |
( |
int | row_index, |
|
|
double | lb, |
|
|
double | ub ) |
|
virtual |
◆ SetDualTolerance()
| void operations_research::CplexInterface::SetDualTolerance |
( |
double | value | ) |
|
|
protectedvirtual |
◆ SetLpAlgorithm()
| void operations_research::CplexInterface::SetLpAlgorithm |
( |
int | value | ) |
|
|
protectedvirtual |
◆ SetObjectiveCoefficient()
| void operations_research::CplexInterface::SetObjectiveCoefficient |
( |
MPVariable const *const | variable, |
|
|
double | coefficient ) |
|
virtual |
◆ SetObjectiveOffset()
| void operations_research::CplexInterface::SetObjectiveOffset |
( |
double | value | ) |
|
|
virtual |
◆ SetOptimizationDirection()
| void operations_research::CplexInterface::SetOptimizationDirection |
( |
bool | maximize | ) |
|
|
virtual |
◆ SetParameters()
| void operations_research::CplexInterface::SetParameters |
( |
MPSolverParameters const & | param | ) |
|
|
protectedvirtual |
◆ SetPresolveMode()
| void operations_research::CplexInterface::SetPresolveMode |
( |
int | value | ) |
|
|
protectedvirtual |
◆ SetPrimalTolerance()
| void operations_research::CplexInterface::SetPrimalTolerance |
( |
double | value | ) |
|
|
protectedvirtual |
◆ SetRelativeMipGap()
| void operations_research::CplexInterface::SetRelativeMipGap |
( |
double | value | ) |
|
|
protectedvirtual |
◆ SetScalingMode()
| void operations_research::CplexInterface::SetScalingMode |
( |
int | value | ) |
|
|
protectedvirtual |
◆ SetSolverSpecificParametersAsString()
| bool operations_research::CplexInterface::SetSolverSpecificParametersAsString |
( |
const std::string & | parameters | ) |
|
|
overridevirtual |
◆ SetVariableBounds()
| void operations_research::CplexInterface::SetVariableBounds |
( |
int | var_index, |
|
|
double | lb, |
|
|
double | ub ) |
|
virtual |
◆ SetVariableInteger()
| void operations_research::CplexInterface::SetVariableInteger |
( |
int | var_index, |
|
|
bool | integer ) |
|
virtual |
◆ Solve()
◆ SolverVersion()
| std::string operations_research::CplexInterface::SolverVersion |
( |
| ) |
const |
|
virtual |
◆ underlying_solver()
| virtual void * operations_research::CplexInterface::underlying_solver |
( |
| ) |
|
|
inlinevirtual |
◆ ValidFileExtensionForParameterFile()
| std::string operations_research::CplexInterface::ValidFileExtensionForParameterFile |
( |
| ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following file: