DyLP
1.10.4
|
This class is the placeholder for the pseudocosts used by OsiChooseStrong. More...
#include <OsiChooseVariable.hpp>
Public Member Functions | |
OsiPseudoCosts () | |
virtual | ~OsiPseudoCosts () |
OsiPseudoCosts (const OsiPseudoCosts &rhs) | |
OsiPseudoCosts & | operator= (const OsiPseudoCosts &rhs) |
int | numberBeforeTrusted () const |
Number of times before trusted. More... | |
void | setNumberBeforeTrusted (int value) |
Set number of times before trusted. More... | |
void | initialize (int n) |
Initialize the pseudocosts with n entries. More... | |
int | numberObjects () const |
Give the number of objects for which pseudo costs are stored. More... | |
virtual void | updateInformation (const OsiBranchingInformation *info, int branch, OsiHotInfo *hotInfo) |
Given a candidate fill in useful information e.g. estimates. More... | |
virtual void | updateInformation (int whichObject, int branch, double changeInObjective, double changeInValue, int status) |
Given a branch fill in useful information e.g. estimates. More... | |
Accessor methods to pseudo costs data | |
double * | upTotalChange () |
const double * | upTotalChange () const |
double * | downTotalChange () |
const double * | downTotalChange () const |
int * | upNumber () |
const int * | upNumber () const |
int * | downNumber () |
const int * | downNumber () const |
Protected Attributes | |
double * | upTotalChange_ |
Total of all changes up. More... | |
double * | downTotalChange_ |
Total of all changes down. More... | |
int * | upNumber_ |
Number of times up. More... | |
int * | downNumber_ |
Number of times down. More... | |
int | numberObjects_ |
Number of objects (could be found from solver) More... | |
int | numberBeforeTrusted_ |
Number before we trust. More... | |
Private Member Functions | |
void | gutsOfDelete () |
void | gutsOfCopy (const OsiPseudoCosts &rhs) |
This class is the placeholder for the pseudocosts used by OsiChooseStrong.
It can also be used by any other pseudocost based strong branching algorithm.
Definition at line 290 of file OsiChooseVariable.hpp.
OsiPseudoCosts::OsiPseudoCosts | ( | ) |
|
virtual |
OsiPseudoCosts::OsiPseudoCosts | ( | const OsiPseudoCosts & | rhs | ) |
|
private |
|
private |
OsiPseudoCosts& OsiPseudoCosts::operator= | ( | const OsiPseudoCosts & | rhs | ) |
|
inline |
Number of times before trusted.
Definition at line 317 of file OsiChooseVariable.hpp.
|
inline |
Set number of times before trusted.
Definition at line 322 of file OsiChooseVariable.hpp.
void OsiPseudoCosts::initialize | ( | int | n | ) |
Initialize the pseudocosts with n entries.
|
inline |
Give the number of objects for which pseudo costs are stored.
Definition at line 329 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 336 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 337 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 339 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 340 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 342 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 343 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 345 of file OsiChooseVariable.hpp.
|
inline |
Definition at line 346 of file OsiChooseVariable.hpp.
|
virtual |
Given a candidate fill in useful information e.g. estimates.
|
virtual |
Given a branch fill in useful information e.g. estimates.
|
protected |
Total of all changes up.
Definition at line 294 of file OsiChooseVariable.hpp.
|
protected |
Total of all changes down.
Definition at line 296 of file OsiChooseVariable.hpp.
|
protected |
Number of times up.
Definition at line 298 of file OsiChooseVariable.hpp.
|
protected |
Number of times down.
Definition at line 300 of file OsiChooseVariable.hpp.
|
protected |
Number of objects (could be found from solver)
Definition at line 302 of file OsiChooseVariable.hpp.
|
protected |
Number before we trust.
Definition at line 304 of file OsiChooseVariable.hpp.