13#ifndef BonSolverHelp_H
14#define BonSolverHelp_H
24 double integer_tolerance,
25 OsiObject ** objects = 0,
int nObjects = -1);
31 double integer_tolerance,
32 OsiObject ** objects = 0,
int nObjects = -1);
36 double integer_tolerance,
37 OsiObject ** objects = 0,
int nObjects = -1);
41 double integer_tolerance,
42 const double * colsol,
const double * other);
46 const OsiCuts& cs,
int numberCuts);
(C) Copyright International Business Machines Corporation 2007
bool integerFeasible(OsiSolverInterface &si, const OsiBranchingInformation &info, double integer_tolerance, OsiObject **objects=0, int nObjects=-1)
Check for integer feasibility of a solution return true if it is feasible.
void relaxIntegers(OsiSolverInterface &si, const OsiBranchingInformation &info, double integer_tolerance, OsiObject **objects=0, int nObjects=-1)
Relax integer variables in si.
bool isDifferentOnIntegers(OsiSolverInterface &si, OsiObject **objects, int nObjects, double integer_tolerance, const double *colsol, const double *other)
Check if two solutions are the same on integer variables.
void installCuts(OsiSolverInterface &si, const OsiCuts &cs, int numberCuts)
Install cuts in solver.
void fixIntegers(OsiSolverInterface &si, const OsiBranchingInformation &info, double integer_tolerance, OsiObject **objects=0, int nObjects=-1)
Fix integer variables in si to their values in colsol.