|
Osi
0.108.1
|
Solver Result Class. More...
#include <OsiSolverBranch.hpp>
Collaboration diagram for OsiSolverResult:Public Member Functions | |
Add and Get methods | |
| void | createResult (const OsiSolverInterface &solver, const double *lowerBefore, const double *upperBefore) |
| Create result. More... | |
| void | restoreResult (OsiSolverInterface &solver) const |
| Restore result. More... | |
| const CoinWarmStartBasis & | basis () const |
| Get basis. More... | |
| double | objectiveValue () const |
| Objective value (as minimization) More... | |
| const double * | primalSolution () const |
| Primal solution. More... | |
| const double * | dualSolution () const |
| Dual solution. More... | |
| const OsiSolverBranch & | fixed () const |
| Extra fixed. More... | |
Constructors and destructors | |
| OsiSolverResult () | |
| Default Constructor. More... | |
| OsiSolverResult (const OsiSolverInterface &solver, const double *lowerBefore, const double *upperBefore) | |
| Constructor from solver. More... | |
| OsiSolverResult (const OsiSolverResult &rhs) | |
| Copy constructor. More... | |
| OsiSolverResult & | operator= (const OsiSolverResult &rhs) |
| Assignment operator. More... | |
| ~OsiSolverResult () | |
| Destructor. More... | |
Private Attributes | |
Private member data | |
| double | objectiveValue_ |
| Value of objective (if >= OsiSolverInterface::getInfinity() then infeasible) More... | |
| CoinWarmStartBasis | basis_ |
| Warm start information. More... | |
| double * | primalSolution_ |
| Primal solution (numberColumns) More... | |
| double * | dualSolution_ |
| Dual solution (numberRows) More... | |
| OsiSolverBranch | fixed_ |
| Which extra variables have been fixed (only way==-1 counts) More... | |
Solver Result Class.
This provides information on a result as a set of tighter bounds on both ways
Definition at line 88 of file OsiSolverBranch.hpp.
| OsiSolverResult::OsiSolverResult | ( | ) |
Default Constructor.
| OsiSolverResult::OsiSolverResult | ( | const OsiSolverInterface & | solver, |
| const double * | lowerBefore, | ||
| const double * | upperBefore | ||
| ) |
Constructor from solver.
| OsiSolverResult::OsiSolverResult | ( | const OsiSolverResult & | rhs | ) |
Copy constructor.
| OsiSolverResult::~OsiSolverResult | ( | ) |
Destructor.
| void OsiSolverResult::createResult | ( | const OsiSolverInterface & | solver, |
| const double * | lowerBefore, | ||
| const double * | upperBefore | ||
| ) |
Create result.
| void OsiSolverResult::restoreResult | ( | OsiSolverInterface & | solver | ) | const |
Restore result.
|
inline |
Get basis.
Definition at line 101 of file OsiSolverBranch.hpp.
|
inline |
Objective value (as minimization)
Definition at line 107 of file OsiSolverBranch.hpp.
|
inline |
Primal solution.
Definition at line 113 of file OsiSolverBranch.hpp.
|
inline |
Dual solution.
Definition at line 119 of file OsiSolverBranch.hpp.
|
inline |
Extra fixed.
Definition at line 125 of file OsiSolverBranch.hpp.
| OsiSolverResult& OsiSolverResult::operator= | ( | const OsiSolverResult & | rhs | ) |
Assignment operator.
|
private |
Value of objective (if >= OsiSolverInterface::getInfinity() then infeasible)
Definition at line 155 of file OsiSolverBranch.hpp.
|
private |
Warm start information.
Definition at line 157 of file OsiSolverBranch.hpp.
|
private |
Primal solution (numberColumns)
Definition at line 159 of file OsiSolverBranch.hpp.
|
private |
Dual solution (numberRows)
Definition at line 161 of file OsiSolverBranch.hpp.
|
private |
Which extra variables have been fixed (only way==-1 counts)
Definition at line 163 of file OsiSolverBranch.hpp.
1.8.5