#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. | |
| void | restoreResult (OsiSolverInterface &solver) const |
| Restore result. | |
| const CoinWarmStartBasis & | basis () const |
| Get basis. | |
| double | objectiveValue () const |
| Objective value (as minimization). | |
| const double * | primalSolution () const |
| Primal solution. | |
| const double * | dualSolution () const |
| Dual solution. | |
| const OsiSolverBranch & | fixed () const |
| Extra fixed. | |
Constructors and destructors | |
| OsiSolverResult () | |
| Default Constructor. | |
| OsiSolverResult (const OsiSolverInterface &solver, const double *lowerBefore, const double *upperBefore) | |
| Constructor from solver. | |
| OsiSolverResult (const OsiSolverResult &rhs) | |
| Copy constructor. | |
| OsiSolverResult & | operator= (const OsiSolverResult &rhs) |
| Assignment operator. | |
| ~OsiSolverResult () | |
| Destructor. | |
Private Attributes | |
Private member data | |
| double | objectiveValue_ |
| Value of objective (if >= OsiSolverInterface::getInfinity() then infeasible). | |
| CoinWarmStartBasis | basis_ |
| Warm start information. | |
| double * | primalSolution_ |
| Primal solution (numberColumns). | |
| double * | dualSolution_ |
| Dual solution (numberRows). | |
| OsiSolverBranch | fixed_ |
| Which extra variables have been fixed (only way==-1 counts). | |
This provides information on a result as a set of tighter bounds on both ways
Definition at line 83 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.
| const CoinWarmStartBasis& OsiSolverResult::basis | ( | ) | const [inline] |
| double OsiSolverResult::objectiveValue | ( | ) | const [inline] |
| const double* OsiSolverResult::primalSolution | ( | ) | const [inline] |
| const double* OsiSolverResult::dualSolution | ( | ) | const [inline] |
| const OsiSolverBranch& OsiSolverResult::fixed | ( | ) | const [inline] |
| OsiSolverResult& OsiSolverResult::operator= | ( | const OsiSolverResult & | rhs | ) |
Assignment operator.
double OsiSolverResult::objectiveValue_ [private] |
Value of objective (if >= OsiSolverInterface::getInfinity() then infeasible).
Definition at line 141 of file OsiSolverBranch.hpp.
CoinWarmStartBasis OsiSolverResult::basis_ [private] |
double* OsiSolverResult::primalSolution_ [private] |
double* OsiSolverResult::dualSolution_ [private] |
OsiSolverBranch OsiSolverResult::fixed_ [private] |
Which extra variables have been fixed (only way==-1 counts).
Definition at line 149 of file OsiSolverBranch.hpp.
1.4.7