This is to allow the user to replace initialSolve and resolve. More...
#include <CbcLinked.hpp>


Public Member Functions | |
Solve methods | |
| virtual void | initialSolve () |
| Solve initial LP relaxation. | |
Constructors and destructors | |
| OsiSolverLinearizedQuadratic () | |
| Default Constructor. | |
| OsiSolverLinearizedQuadratic (ClpSimplex *quadraticModel) | |
| Useful constructor (solution should be good). | |
| virtual OsiSolverInterface * | clone (bool copyData=true) const |
| Clone. | |
| OsiSolverLinearizedQuadratic (const OsiSolverLinearizedQuadratic &) | |
| Copy constructor. | |
| OsiSolverLinearizedQuadratic & | operator= (const OsiSolverLinearizedQuadratic &rhs) |
| Assignment operator. | |
| virtual | ~OsiSolverLinearizedQuadratic () |
| Destructor. | |
Sets and Gets | |
| double | bestObjectiveValue () const |
| Objective value of best solution found internally. | |
| const double * | bestSolution () const |
| Best solution found internally. | |
| void | setSpecialOptions3 (int value) |
| Set special options. | |
| int | specialOptions3 () const |
| Get special options. | |
| ClpSimplex * | quadraticModel () const |
| Copy of quadratic model if one. | |
Protected Attributes | |
Private member data | |
| double | bestObjectiveValue_ |
| Objective value of best solution found internally. | |
| ClpSimplex * | quadraticModel_ |
| Copy of quadratic model if one. | |
| double * | bestSolution_ |
| Best solution found internally. | |
| int | specialOptions3_ |
| 0 bit (1) - don't do mini B&B 1 bit (2) - quadratic only in objective | |
This is to allow the user to replace initialSolve and resolve.
Definition at line 1257 of file CbcLinked.hpp.
| OsiSolverLinearizedQuadratic::OsiSolverLinearizedQuadratic | ( | ) |
Default Constructor.
| OsiSolverLinearizedQuadratic::OsiSolverLinearizedQuadratic | ( | ClpSimplex * | quadraticModel | ) |
Useful constructor (solution should be good).
| OsiSolverLinearizedQuadratic::OsiSolverLinearizedQuadratic | ( | const OsiSolverLinearizedQuadratic & | ) |
Copy constructor.
| virtual OsiSolverLinearizedQuadratic::~OsiSolverLinearizedQuadratic | ( | ) | [virtual] |
Destructor.
| virtual void OsiSolverLinearizedQuadratic::initialSolve | ( | ) | [virtual] |
Solve initial LP relaxation.
Reimplemented from OsiClpSolverInterface.
| virtual OsiSolverInterface* OsiSolverLinearizedQuadratic::clone | ( | bool | copyData = true |
) | const [virtual] |
Clone.
Reimplemented from OsiClpSolverInterface.
| OsiSolverLinearizedQuadratic& OsiSolverLinearizedQuadratic::operator= | ( | const OsiSolverLinearizedQuadratic & | rhs | ) |
Assignment operator.
Reimplemented from OsiClpSolverInterface.
| double OsiSolverLinearizedQuadratic::bestObjectiveValue | ( | ) | const [inline] |
Objective value of best solution found internally.
Definition at line 1292 of file CbcLinked.hpp.
| const double* OsiSolverLinearizedQuadratic::bestSolution | ( | ) | const [inline] |
Best solution found internally.
Definition at line 1295 of file CbcLinked.hpp.
| void OsiSolverLinearizedQuadratic::setSpecialOptions3 | ( | int | value | ) | [inline] |
Set special options.
Definition at line 1298 of file CbcLinked.hpp.
| int OsiSolverLinearizedQuadratic::specialOptions3 | ( | ) | const [inline] |
Get special options.
Definition at line 1301 of file CbcLinked.hpp.
| ClpSimplex* OsiSolverLinearizedQuadratic::quadraticModel | ( | ) | const [inline] |
Copy of quadratic model if one.
Definition at line 1304 of file CbcLinked.hpp.
double OsiSolverLinearizedQuadratic::bestObjectiveValue_ [protected] |
Objective value of best solution found internally.
Definition at line 1319 of file CbcLinked.hpp.
ClpSimplex* OsiSolverLinearizedQuadratic::quadraticModel_ [protected] |
Copy of quadratic model if one.
Definition at line 1321 of file CbcLinked.hpp.
double* OsiSolverLinearizedQuadratic::bestSolution_ [protected] |
Best solution found internally.
Definition at line 1323 of file CbcLinked.hpp.
int OsiSolverLinearizedQuadratic::specialOptions3_ [protected] |
0 bit (1) - don't do mini B&B 1 bit (2) - quadratic only in objective
Definition at line 1328 of file CbcLinked.hpp.
1.6.1