List of all members
OsiSolverLinearizedQuadratic Class Reference

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.
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.
OsiSolverLinearizedQuadraticoperator= (const OsiSolverLinearizedQuadratic &rhs)
 Assignment operator.
virtual ~OsiSolverLinearizedQuadratic ()
 Destructor.
 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.
OsiSolverLinearizedQuadraticoperator= (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.
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

Detailed Description

This is to allow the user to replace initialSolve and resolve.

Definition at line 1316 of file CbcLinked.hpp.

Constructor & Destructor Documentation

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.

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.

Member Function Documentation

virtual void OsiSolverLinearizedQuadratic::initialSolve ( )
virtual

Solve initial LP relaxation.

virtual OsiSolverInterface* OsiSolverLinearizedQuadratic::clone ( bool  copyData = true) const
virtual

Clone.

OsiSolverLinearizedQuadratic& OsiSolverLinearizedQuadratic::operator= ( const OsiSolverLinearizedQuadratic rhs)

Assignment operator.

double OsiSolverLinearizedQuadratic::bestObjectiveValue ( ) const
inline

Objective value of best solution found internally.

Definition at line 1351 of file CbcLinked.hpp.

const double* OsiSolverLinearizedQuadratic::bestSolution ( ) const
inline

Best solution found internally.

Definition at line 1355 of file CbcLinked.hpp.

void OsiSolverLinearizedQuadratic::setSpecialOptions3 ( int  value)
inline

Set special options.

Definition at line 1359 of file CbcLinked.hpp.

int OsiSolverLinearizedQuadratic::specialOptions3 ( ) const
inline

Get special options.

Definition at line 1363 of file CbcLinked.hpp.

ClpSimplex* OsiSolverLinearizedQuadratic::quadraticModel ( ) const
inline

Copy of quadratic model if one.

Definition at line 1367 of file CbcLinked.hpp.

virtual void OsiSolverLinearizedQuadratic::initialSolve ( )
virtual

Solve initial LP relaxation.

virtual OsiSolverInterface* OsiSolverLinearizedQuadratic::clone ( bool  copyData = true) const
virtual

Clone.

OsiSolverLinearizedQuadratic& OsiSolverLinearizedQuadratic::operator= ( const OsiSolverLinearizedQuadratic rhs)

Assignment operator.

double OsiSolverLinearizedQuadratic::bestObjectiveValue ( ) const
inline

Objective value of best solution found internally.

Definition at line 1351 of file CbcLinked.hpp.

const double* OsiSolverLinearizedQuadratic::bestSolution ( ) const
inline

Best solution found internally.

Definition at line 1355 of file CbcLinked.hpp.

void OsiSolverLinearizedQuadratic::setSpecialOptions3 ( int  value)
inline

Set special options.

Definition at line 1359 of file CbcLinked.hpp.

int OsiSolverLinearizedQuadratic::specialOptions3 ( ) const
inline

Get special options.

Definition at line 1363 of file CbcLinked.hpp.

ClpSimplex* OsiSolverLinearizedQuadratic::quadraticModel ( ) const
inline

Copy of quadratic model if one.

Definition at line 1367 of file CbcLinked.hpp.

Member Data Documentation

double OsiSolverLinearizedQuadratic::bestObjectiveValue_
protected

Objective value of best solution found internally.

Definition at line 1383 of file CbcLinked.hpp.

ClpSimplex * OsiSolverLinearizedQuadratic::quadraticModel_
protected

Copy of quadratic model if one.

Definition at line 1385 of file CbcLinked.hpp.

double * OsiSolverLinearizedQuadratic::bestSolution_
protected

Best solution found internally.

Definition at line 1387 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 1392 of file CbcLinked.hpp.


The documentation for this class was generated from the following files: