Osi 0.108.12
Loading...
Searching...
No Matches
OsiObject2 Class Reference

Define a class to add a bit of complexity to OsiObject This assumes 2 way branching. More...

#include <OsiBranchingObject.hpp>

Inheritance diagram for OsiObject2:
Collaboration diagram for OsiObject2:

Public Member Functions

 OsiObject2 ()
 Default Constructor.
 OsiObject2 (const OsiObject2 &)
 Copy constructor.
OsiObject2operator= (const OsiObject2 &rhs)
 Assignment operator.
virtual ~OsiObject2 ()
 Destructor.
void setPreferredWay (int value)
 Set preferred way of branching - -1 off, 0 down, 1 up (for 2-way).
virtual int preferredWay () const
 Get preferred way of branching - -1 off, 0 down, 1 up (for 2-way).

Protected Attributes

int preferredWay_
 Preferred way of branching - -1 off, 0 down, 1 up (for 2-way).
double otherInfeasibility_
 "Infeasibility" on other way

Detailed Description

Define a class to add a bit of complexity to OsiObject This assumes 2 way branching.

Definition at line 231 of file OsiBranchingObject.hpp.

Constructor & Destructor Documentation

◆ OsiObject2() [1/2]

OsiObject2::OsiObject2 ( )

Default Constructor.

◆ OsiObject2() [2/2]

OsiObject2::OsiObject2 ( const OsiObject2 & )

Copy constructor.

◆ ~OsiObject2()

virtual OsiObject2::~OsiObject2 ( )
virtual

Destructor.

Member Function Documentation

◆ operator=()

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

Assignment operator.

◆ setPreferredWay()

void OsiObject2::setPreferredWay ( int value)
inline

Set preferred way of branching - -1 off, 0 down, 1 up (for 2-way).

Definition at line 247 of file OsiBranchingObject.hpp.

◆ preferredWay()

virtual int OsiObject2::preferredWay ( ) const
inlinevirtual

Get preferred way of branching - -1 off, 0 down, 1 up (for 2-way).

Definition at line 253 of file OsiBranchingObject.hpp.

Member Data Documentation

◆ preferredWay_

int OsiObject2::preferredWay_
protected

Preferred way of branching - -1 off, 0 down, 1 up (for 2-way).

Definition at line 260 of file OsiBranchingObject.hpp.

◆ otherInfeasibility_

double OsiObject2::otherInfeasibility_
mutableprotected

"Infeasibility" on other way

Definition at line 262 of file OsiBranchingObject.hpp.


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