OsiHotInfo Class Reference

This class contains the result of strong branching on a variable When created it stores enough information for strong branching. More...

#include <OsiChooseVariable.hpp>

Collaboration diagram for OsiHotInfo:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OsiHotInfo ()
 Default Constructor.
 OsiHotInfo (OsiSolverInterface *solver, const OsiBranchingInformation *info, const OsiObject **objects, int whichObject)
 Constructor from useful information.
 OsiHotInfo (const OsiHotInfo &)
 Copy constructor.
OsiHotInfooperator= (const OsiHotInfo &rhs)
 Assignment operator.
virtual OsiHotInfoclone () const
 Clone.
virtual ~OsiHotInfo ()
 Destructor.
int updateInformation (const OsiSolverInterface *solver, const OsiBranchingInformation *info, OsiChooseVariable *choose)
 Fill in useful information after strong branch.
double originalObjectiveValue () const
 Original objective value.
double upChange () const
 Up change - invalid if n-way.
double downChange () const
 Down change - invalid if n-way.
double change (int k) const
 Change on way k.
int upIterationCount () const
 Up iteration count - invalid if n-way.
int downIterationCount () const
 Down iteration count - invalid if n-way.
int iterationCount (int k) const
 Iteration count on way k.
int upStatus () const
 Up status - invalid if n-way.
int downStatus () const
 Down status - invalid if n-way.
int status (int k) const
 Status on way k.
OsiBranchingObjectbranchingObject () const
 Branching object.
int whichObject () const

Protected Attributes

double originalObjectiveValue_
 Original objective value.
double * changes_
 Objective changes.
int * iterationCounts_
 Iteration counts.
int * statuses_
 Status -1 - not done 0 - feasible and finished 1 - infeasible 2 - not finished.
OsiBranchingObjectbranchingObject_
 Branching object.
int whichObject_
 Which object on list.

Detailed Description

This class contains the result of strong branching on a variable When created it stores enough information for strong branching.

Definition at line 348 of file OsiChooseVariable.hpp.


Constructor & Destructor Documentation

OsiHotInfo::OsiHotInfo (  ) 

Default Constructor.

OsiHotInfo::OsiHotInfo ( OsiSolverInterface solver,
const OsiBranchingInformation info,
const OsiObject **  objects,
int  whichObject 
)

Constructor from useful information.

OsiHotInfo::OsiHotInfo ( const OsiHotInfo  ) 

Copy constructor.

virtual OsiHotInfo::~OsiHotInfo (  )  [virtual]

Destructor.


Member Function Documentation

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

Assignment operator.

virtual OsiHotInfo* OsiHotInfo::clone (  )  const [virtual]

Clone.

int OsiHotInfo::updateInformation ( const OsiSolverInterface solver,
const OsiBranchingInformation info,
OsiChooseVariable choose 
)

Fill in useful information after strong branch.

Return status

double OsiHotInfo::originalObjectiveValue (  )  const [inline]

Original objective value.

Definition at line 378 of file OsiChooseVariable.hpp.

References originalObjectiveValue_.

double OsiHotInfo::upChange (  )  const [inline]

Up change - invalid if n-way.

Definition at line 381 of file OsiChooseVariable.hpp.

References branchingObject_, changes_, and OsiBranchingObject::numberBranches().

double OsiHotInfo::downChange (  )  const [inline]

Down change - invalid if n-way.

Definition at line 384 of file OsiChooseVariable.hpp.

References branchingObject_, changes_, and OsiBranchingObject::numberBranches().

double OsiHotInfo::change ( int  k  )  const [inline]

Change on way k.

Definition at line 387 of file OsiChooseVariable.hpp.

References changes_.

int OsiHotInfo::upIterationCount (  )  const [inline]

Up iteration count - invalid if n-way.

Definition at line 391 of file OsiChooseVariable.hpp.

References branchingObject_, iterationCounts_, and OsiBranchingObject::numberBranches().

int OsiHotInfo::downIterationCount (  )  const [inline]

Down iteration count - invalid if n-way.

Definition at line 394 of file OsiChooseVariable.hpp.

References branchingObject_, iterationCounts_, and OsiBranchingObject::numberBranches().

int OsiHotInfo::iterationCount ( int  k  )  const [inline]

Iteration count on way k.

Definition at line 397 of file OsiChooseVariable.hpp.

References iterationCounts_.

int OsiHotInfo::upStatus (  )  const [inline]

Up status - invalid if n-way.

Definition at line 401 of file OsiChooseVariable.hpp.

References branchingObject_, OsiBranchingObject::numberBranches(), and statuses_.

int OsiHotInfo::downStatus (  )  const [inline]

Down status - invalid if n-way.

Definition at line 404 of file OsiChooseVariable.hpp.

References branchingObject_, OsiBranchingObject::numberBranches(), and statuses_.

int OsiHotInfo::status ( int  k  )  const [inline]

Status on way k.

Definition at line 407 of file OsiChooseVariable.hpp.

References statuses_.

OsiBranchingObject* OsiHotInfo::branchingObject (  )  const [inline]

Branching object.

Definition at line 410 of file OsiChooseVariable.hpp.

References branchingObject_.

int OsiHotInfo::whichObject (  )  const [inline]

Definition at line 412 of file OsiChooseVariable.hpp.


Member Data Documentation

double OsiHotInfo::originalObjectiveValue_ [protected]

Original objective value.

Definition at line 413 of file OsiChooseVariable.hpp.

Referenced by originalObjectiveValue().

double* OsiHotInfo::changes_ [protected]

Objective changes.

Definition at line 420 of file OsiChooseVariable.hpp.

Referenced by change(), downChange(), and upChange().

int* OsiHotInfo::iterationCounts_ [protected]

Iteration counts.

Definition at line 422 of file OsiChooseVariable.hpp.

Referenced by downIterationCount(), iterationCount(), and upIterationCount().

int* OsiHotInfo::statuses_ [protected]

Status -1 - not done 0 - feasible and finished 1 - infeasible 2 - not finished.

Definition at line 429 of file OsiChooseVariable.hpp.

Referenced by downStatus(), status(), and upStatus().

OsiBranchingObject* OsiHotInfo::branchingObject_ [protected]

Branching object.

Definition at line 431 of file OsiChooseVariable.hpp.

Referenced by branchingObject(), downChange(), downIterationCount(), downStatus(), upChange(), upIterationCount(), and upStatus().

int OsiHotInfo::whichObject_ [protected]

Which object on list.

Definition at line 433 of file OsiChooseVariable.hpp.


The documentation for this class was generated from the following file:
Generated on Fri May 16 00:12:15 2008 by  doxygen 1.4.7