Cbc 2.10.12
|
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 1352 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 |
Destructor.
|
virtual |
Solve initial LP relaxation.
|
virtual |
Clone.
OsiSolverLinearizedQuadratic & OsiSolverLinearizedQuadratic::operator= | ( | const OsiSolverLinearizedQuadratic & | rhs | ) |
Assignment operator.
|
inline |
Objective value of best solution found internally.
Definition at line 1385 of file CbcLinked.hpp.
|
inline |
Best solution found internally.
Definition at line 1390 of file CbcLinked.hpp.
|
inline |
Set special options.
Definition at line 1395 of file CbcLinked.hpp.
|
inline |
Get special options.
Definition at line 1400 of file CbcLinked.hpp.
|
inline |
Copy of quadratic model if one.
Definition at line 1405 of file CbcLinked.hpp.
|
protected |
Objective value of best solution found internally.
Definition at line 1420 of file CbcLinked.hpp.
|
protected |
Copy of quadratic model if one.
Definition at line 1422 of file CbcLinked.hpp.
|
protected |
Best solution found internally.
Definition at line 1424 of file CbcLinked.hpp.
|
protected |
0 bit (1) - don't do mini B&B 1 bit (2) - quadratic only in objective
Definition at line 1429 of file CbcLinked.hpp.