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