29 #include "BcpsObject.h"
74 virtual BcpsObject *
clone()
const {
83 virtual double infeasibility(BcpsModel *m,
int & preferredWay)
const;
virtual BcpsObject * clone() const
Clone an object.
BlisPseudocost pseudocost_
Pseudo cost.
virtual BcpsBranchObject * createBranchObject(BcpsModel *m, int direction) const
Creates a branching object.
double originalUpperBound() const
virtual double infeasibility(BcpsModel *m, int &preferredWay) const
Infeasibility.
BlisObjectInt()
Default Constructor.
virtual void feasibleRegion(BcpsModel *m)
Set bounds to contain the current solution.
BlisPseudocost & pseudocost()
Access pseudocost.
BlisObjectInt & operator=(const BlisObjectInt &rhs)
Assignment operator.
virtual BcpsBranchObject * preferredNewFeasible(BcpsModel *m) const
Given a valid solution (with reduced costs, etc.), return a branching object which would give a new f...
double originalLower_
Original lower bound.
double originalUpper_
Original upper bound.
double originalLowerBound() const
void setBreakEven(double value)
Set breakeven e.g 0.7 -> >= 0.7 go up first.
virtual BcpsBranchObject * notPreferredNewFeasible(BcpsModel *m) const
Given a valid solution (with reduced costs, etc.), return a branching object which would give a new f...
void setOriginalLowerBound(double value)
virtual ~BlisObjectInt()
Destructor.
int columnIndex_
Column index in the lp model.
virtual void resetBounds(BcpsModel *m)
Reset original upper and lower bound values from the solver.
virtual int columnIndex() const
Column number if single column object, otherwise.
double breakEven() const
Breakeven e.g 0.7 -> >= 0.7 go up first.
double breakEven_
Breakeven i.e.
void setOriginalUpperBound(double value)