This class holds a MIP feasible primal solution.
More...
#include <AbcSolution.h>
This class holds a MIP feasible primal solution.
Definition at line 31 of file AbcSolution.h.
◆ AbcSolution() [1/4]
AbcSolution::AbcSolution |
( |
| ) |
|
|
inline |
◆ AbcSolution() [2/4]
AbcSolution::AbcSolution |
( |
const int | s, |
|
|
const double * | val, |
|
|
const double | obj ) |
|
inline |
◆ ~AbcSolution() [1/2]
AbcSolution::~AbcSolution |
( |
| ) |
|
|
inline |
◆ AbcSolution() [3/4]
AbcSolution::AbcSolution |
( |
| ) |
|
|
inline |
◆ AbcSolution() [4/4]
AbcSolution::AbcSolution |
( |
const int | s, |
|
|
const double * | val, |
|
|
const double | obj ) |
|
inline |
◆ ~AbcSolution() [2/2]
AbcSolution::~AbcSolution |
( |
| ) |
|
|
inline |
◆ getObjValue() [1/2]
double AbcSolution::getObjValue |
( |
| ) |
const |
|
inline |
Get the objective value value.
Definition at line 62 of file AbcSolution.h.
◆ getQuality() [1/2]
virtual double AbcSolution::getQuality |
( |
| ) |
const |
|
inlinevirtual |
◆ getSize() [1/2]
int AbcSolution::getSize |
( |
| ) |
const |
|
inline |
◆ getColSolution() [1/4]
const double * AbcSolution::getColSolution |
( |
| ) |
const |
|
inline |
◆ getColSolution() [2/4]
double AbcSolution::getColSolution |
( |
int | i | ) |
const |
|
inline |
Get item i in the solution vector.
Definition at line 74 of file AbcSolution.h.
◆ print() [1/2]
virtual void AbcSolution::print |
( |
std::ostream & | os | ) |
const |
|
virtual |
◆ encode() [1/2]
The method that encodes the solution into a encoded object.
Reimplemented from AlpsKnowledge.
◆ decode() [1/2]
The method that decodes the solution from a encoded object.
Reimplemented from AlpsKnowledge.
◆ getObjValue() [2/2]
double AbcSolution::getObjValue |
( |
| ) |
const |
|
inline |
Get the objective value value.
Definition at line 62 of file AbcSolution.h.
◆ getQuality() [2/2]
virtual double AbcSolution::getQuality |
( |
| ) |
const |
|
inlinevirtual |
◆ getSize() [2/2]
int AbcSolution::getSize |
( |
| ) |
const |
|
inline |
◆ getColSolution() [3/4]
const double * AbcSolution::getColSolution |
( |
| ) |
const |
|
inline |
◆ getColSolution() [4/4]
double AbcSolution::getColSolution |
( |
int | i | ) |
const |
|
inline |
Get item i in the solution vector.
Definition at line 74 of file AbcSolution.h.
◆ print() [2/2]
virtual void AbcSolution::print |
( |
std::ostream & | os | ) |
const |
|
virtual |
◆ encode() [2/2]
The method that encodes the solution into a encoded object.
Reimplemented from AlpsKnowledge.
◆ decode() [2/2]
The method that decodes the solution from a encoded object.
Reimplemented from AlpsKnowledge.
◆ size_
◆ value_
double * AbcSolution::value_ |
|
private |
◆ objective_
double AbcSolution::objective_ |
|
private |
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/coin-or-Alps-1.5.12-build/CHiPPS-ALPS-releases-1.5.12/Alps/examples/Abc/AbcSolution.h
- /builddir/build/BUILD/coin-or-Alps-1.5.12-build/CHiPPS-ALPS-releases-1.5.12/Alps/test/AbcSolution.h