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

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

#include <CbcSolverLongThin.hpp>

+ Inheritance diagram for CbcSolverLongThin:
+ Collaboration diagram for CbcSolverLongThin:

Public Member Functions

Solve methods
virtual void initialSolve ()
 Solve initial LP relaxation. More...
 
virtual void resolve ()
 Resolve an LP relaxation after problem modification. More...
 
Constructors and destructors
 CbcSolverLongThin ()
 Default Constructor. More...
 
virtual OsiSolverInterface * clone (bool CopyData=true) const
 Clone. More...
 
 CbcSolverLongThin (const CbcSolverLongThin &)
 Copy constructor. More...
 
CbcSolverLongThinoperator= (const CbcSolverLongThin &rhs)
 Assignment operator. More...
 
virtual ~CbcSolverLongThin ()
 Destructor. More...
 
Sets and Getss
void initialize (CbcModel *model, const char *keep)
 Setup arrays - ones in keep will always be in. More...
 
const int * when () const
 get which ones have been used More...
 
int getMemory () const
 Get memory (i.e. how recent use should be) More...
 
int getCount () const
 Get current count. More...
 
void setMemory (int value)
 Set memory (i.e. how recent use should be) More...
 
void setBelieveInfeasible (bool yesNo)
 Say whether to believe infeasible. More...
 
void setAlgorithm (int value)
 Say whether to just count usage. More...
 
void setNested (double value)
 Do nested search if this fraction fixed. More...
 
int getAlgorithm () const
 Say whether to just count usage. More...
 
double getNested () const
 Do nested search if this fraction fixed. More...
 

Private Attributes

Private member data
double nestedSearch_
 Do nested search if this fraction fixed. More...
 
int * node_
 Node number when variable last in problem. More...
 
int * howMany_
 How many times in problem. More...
 
CbcModelmodel_
 Pointer back to model. More...
 
int count_
 Counter. More...
 
int memory_
 How recently it must have been used. More...
 
bool believeInfeasible_
 If infeasible on subset means infeasible. More...
 
bool algorithm_
 If 0 nothing, 1 compress and fix, 2 long thin. More...
 

Detailed Description

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

Definition at line 18 of file CbcSolverLongThin.hpp.

Constructor & Destructor Documentation

◆ CbcSolverLongThin() [1/2]

CbcSolverLongThin::CbcSolverLongThin ( )

Default Constructor.

◆ CbcSolverLongThin() [2/2]

CbcSolverLongThin::CbcSolverLongThin ( const CbcSolverLongThin )

Copy constructor.

◆ ~CbcSolverLongThin()

virtual CbcSolverLongThin::~CbcSolverLongThin ( )
virtual

Destructor.

Member Function Documentation

◆ initialSolve()

virtual void CbcSolverLongThin::initialSolve ( )
virtual

Solve initial LP relaxation.

◆ resolve()

virtual void CbcSolverLongThin::resolve ( )
virtual

Resolve an LP relaxation after problem modification.

◆ clone()

virtual OsiSolverInterface* CbcSolverLongThin::clone ( bool  CopyData = true) const
virtual

Clone.

◆ operator=()

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

Assignment operator.

◆ initialize()

void CbcSolverLongThin::initialize ( CbcModel model,
const char *  keep 
)

Setup arrays - ones in keep will always be in.

◆ when()

const int* CbcSolverLongThin::when ( ) const
inline

get which ones have been used

Definition at line 56 of file CbcSolverLongThin.hpp.

◆ getMemory()

int CbcSolverLongThin::getMemory ( ) const
inline

Get memory (i.e. how recent use should be)

Definition at line 61 of file CbcSolverLongThin.hpp.

◆ getCount()

int CbcSolverLongThin::getCount ( ) const
inline

Get current count.

Definition at line 66 of file CbcSolverLongThin.hpp.

◆ setMemory()

void CbcSolverLongThin::setMemory ( int  value)
inline

Set memory (i.e. how recent use should be)

Definition at line 71 of file CbcSolverLongThin.hpp.

◆ setBelieveInfeasible()

void CbcSolverLongThin::setBelieveInfeasible ( bool  yesNo)
inline

Say whether to believe infeasible.

Definition at line 76 of file CbcSolverLongThin.hpp.

◆ setAlgorithm()

void CbcSolverLongThin::setAlgorithm ( int  value)
inline

Say whether to just count usage.

Definition at line 81 of file CbcSolverLongThin.hpp.

◆ setNested()

void CbcSolverLongThin::setNested ( double  value)
inline

Do nested search if this fraction fixed.

Definition at line 86 of file CbcSolverLongThin.hpp.

◆ getAlgorithm()

int CbcSolverLongThin::getAlgorithm ( ) const
inline

Say whether to just count usage.

Definition at line 91 of file CbcSolverLongThin.hpp.

◆ getNested()

double CbcSolverLongThin::getNested ( ) const
inline

Do nested search if this fraction fixed.

Definition at line 96 of file CbcSolverLongThin.hpp.

Member Data Documentation

◆ nestedSearch_

double CbcSolverLongThin::nestedSearch_
private

Do nested search if this fraction fixed.

Definition at line 108 of file CbcSolverLongThin.hpp.

◆ node_

int* CbcSolverLongThin::node_
private

Node number when variable last in problem.

Definition at line 110 of file CbcSolverLongThin.hpp.

◆ howMany_

int* CbcSolverLongThin::howMany_
private

How many times in problem.

Definition at line 112 of file CbcSolverLongThin.hpp.

◆ model_

CbcModel* CbcSolverLongThin::model_
private

Pointer back to model.

Definition at line 114 of file CbcSolverLongThin.hpp.

◆ count_

int CbcSolverLongThin::count_
private

Counter.

Definition at line 116 of file CbcSolverLongThin.hpp.

◆ memory_

int CbcSolverLongThin::memory_
private

How recently it must have been used.

Definition at line 118 of file CbcSolverLongThin.hpp.

◆ believeInfeasible_

bool CbcSolverLongThin::believeInfeasible_
private

If infeasible on subset means infeasible.

Definition at line 120 of file CbcSolverLongThin.hpp.

◆ algorithm_

bool CbcSolverLongThin::algorithm_
private

If 0 nothing, 1 compress and fix, 2 long thin.

Definition at line 122 of file CbcSolverLongThin.hpp.


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