Cbc  2.10.10
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
OsiSolverLinearizedQuadratic Class Reference

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

#include <CbcLinked.hpp>

+ Inheritance diagram for OsiSolverLinearizedQuadratic:
+ Collaboration diagram for OsiSolverLinearizedQuadratic:

Public Member Functions

Solve methods
virtual void initialSolve ()
 Solve initial LP relaxation. More...
 
Constructors and destructors
 OsiSolverLinearizedQuadratic ()
 Default Constructor. More...
 
 OsiSolverLinearizedQuadratic (ClpSimplex *quadraticModel)
 Useful constructor (solution should be good) More...
 
virtual OsiSolverInterface * clone (bool copyData=true) const
 Clone. More...
 
 OsiSolverLinearizedQuadratic (const OsiSolverLinearizedQuadratic &)
 Copy constructor. More...
 
OsiSolverLinearizedQuadraticoperator= (const OsiSolverLinearizedQuadratic &rhs)
 Assignment operator. More...
 
virtual ~OsiSolverLinearizedQuadratic ()
 Destructor. More...
 
Sets and Gets
double bestObjectiveValue () const
 Objective value of best solution found internally. More...
 
const double * bestSolution () const
 Best solution found internally. More...
 
void setSpecialOptions3 (int value)
 Set special options. More...
 
int specialOptions3 () const
 Get special options. More...
 
ClpSimplex * quadraticModel () const
 Copy of quadratic model if one. More...
 

Protected Attributes

Private member data
double bestObjectiveValue_
 Objective value of best solution found internally. More...
 
ClpSimplex * quadraticModel_
 Copy of quadratic model if one. More...
 
double * bestSolution_
 Best solution found internally. More...
 
int specialOptions3_
 0 bit (1) - don't do mini B&B 1 bit (2) - quadratic only in objective More...
 

Detailed Description

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

Definition at line 1352 of file CbcLinked.hpp.

Constructor & Destructor Documentation

◆ OsiSolverLinearizedQuadratic() [1/3]

OsiSolverLinearizedQuadratic::OsiSolverLinearizedQuadratic ( )

Default Constructor.

◆ OsiSolverLinearizedQuadratic() [2/3]

OsiSolverLinearizedQuadratic::OsiSolverLinearizedQuadratic ( ClpSimplex *  quadraticModel)

Useful constructor (solution should be good)

◆ OsiSolverLinearizedQuadratic() [3/3]

OsiSolverLinearizedQuadratic::OsiSolverLinearizedQuadratic ( const OsiSolverLinearizedQuadratic )

Copy constructor.

◆ ~OsiSolverLinearizedQuadratic()

virtual OsiSolverLinearizedQuadratic::~OsiSolverLinearizedQuadratic ( )
virtual

Destructor.

Member Function Documentation

◆ initialSolve()

virtual void OsiSolverLinearizedQuadratic::initialSolve ( )
virtual

Solve initial LP relaxation.

◆ clone()

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

Clone.

◆ operator=()

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

Assignment operator.

◆ bestObjectiveValue()

double OsiSolverLinearizedQuadratic::bestObjectiveValue ( ) const
inline

Objective value of best solution found internally.

Definition at line 1385 of file CbcLinked.hpp.

◆ bestSolution()

const double* OsiSolverLinearizedQuadratic::bestSolution ( ) const
inline

Best solution found internally.

Definition at line 1390 of file CbcLinked.hpp.

◆ setSpecialOptions3()

void OsiSolverLinearizedQuadratic::setSpecialOptions3 ( int  value)
inline

Set special options.

Definition at line 1395 of file CbcLinked.hpp.

◆ specialOptions3()

int OsiSolverLinearizedQuadratic::specialOptions3 ( ) const
inline

Get special options.

Definition at line 1400 of file CbcLinked.hpp.

◆ quadraticModel()

ClpSimplex* OsiSolverLinearizedQuadratic::quadraticModel ( ) const
inline

Copy of quadratic model if one.

Definition at line 1405 of file CbcLinked.hpp.

Member Data Documentation

◆ bestObjectiveValue_

double OsiSolverLinearizedQuadratic::bestObjectiveValue_
protected

Objective value of best solution found internally.

Definition at line 1420 of file CbcLinked.hpp.

◆ quadraticModel_

ClpSimplex* OsiSolverLinearizedQuadratic::quadraticModel_
protected

Copy of quadratic model if one.

Definition at line 1422 of file CbcLinked.hpp.

◆ bestSolution_

double* OsiSolverLinearizedQuadratic::bestSolution_
protected

Best solution found internally.

Definition at line 1424 of file CbcLinked.hpp.

◆ specialOptions3_

int OsiSolverLinearizedQuadratic::specialOptions3_
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.


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