Blis 0.94
Loading...
Searching...
No Matches
Functions
BlisHelp.h File Reference
#include "AlpsEncoded.h"
#include "Blis.h"
+ Include dependency graph for BlisHelp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BlisConstraintBlisOsiCutToConstraint (const OsiRowCut *rowCut)
 Convert a OsiRowCut to a Blis Contraint.
 
BlisReturnStatus BlisStrongBranch (BlisModel *model, double objValue, int colInd, double x, const double *saveLower, const double *saveUpper, bool &downKeep, bool &downFinished, double &downDeg, bool &upKeep, bool &upFinished, double &upDeg)
 Strong branching on a variable colInd.
 
int BlisEncodeWarmStart (AlpsEncoded *encoded, const CoinWarmStartBasis *ws)
 Pack coin warm start into an encoded object.
 
CoinWarmStartBasisBlisDecodeWarmStart (AlpsEncoded &encoded, AlpsReturnStatus *rc)
 Unpack coin warm start from an encoded object.
 
double BlisHashingOsiRowCut (const OsiRowCut *rowCut, const BlisModel *model)
 Compute and return a hash value of an Osi row cut.
 
bool BlisParallelCutCut (OsiRowCut *rowCut1, OsiRowCut *rowCut2, double threshold=1.0)
 Check if a row cut parallel with another row cut.
 
bool BlisParallelCutCon (OsiRowCut *rowCut, BlisConstraint *con, double threshold=1.0)
 Check if a row cut parallel with a constraint.
 
bool BlisParallelConCon (BlisConstraint *con1, BlisConstraint *con2, double threshold=1.0)
 Check if a row cut parallel with a constraint.
 

Function Documentation

◆ BlisOsiCutToConstraint()

BlisConstraint * BlisOsiCutToConstraint ( const OsiRowCut * rowCut)

Convert a OsiRowCut to a Blis Contraint.

◆ BlisStrongBranch()

BlisReturnStatus BlisStrongBranch ( BlisModel * model,
double objValue,
int colInd,
double x,
const double * saveLower,
const double * saveUpper,
bool & downKeep,
bool & downFinished,
double & downDeg,
bool & upKeep,
bool & upFinished,
double & upDeg )

Strong branching on a variable colInd.

◆ BlisEncodeWarmStart()

int BlisEncodeWarmStart ( AlpsEncoded * encoded,
const CoinWarmStartBasis * ws )

Pack coin warm start into an encoded object.

◆ BlisDecodeWarmStart()

CoinWarmStartBasis * BlisDecodeWarmStart ( AlpsEncoded & encoded,
AlpsReturnStatus * rc )

Unpack coin warm start from an encoded object.

◆ BlisHashingOsiRowCut()

double BlisHashingOsiRowCut ( const OsiRowCut * rowCut,
const BlisModel * model )

Compute and return a hash value of an Osi row cut.

◆ BlisParallelCutCut()

bool BlisParallelCutCut ( OsiRowCut * rowCut1,
OsiRowCut * rowCut2,
double threshold = 1.0 )

Check if a row cut parallel with another row cut.

◆ BlisParallelCutCon()

bool BlisParallelCutCon ( OsiRowCut * rowCut,
BlisConstraint * con,
double threshold = 1.0 )

Check if a row cut parallel with a constraint.

◆ BlisParallelConCon()

bool BlisParallelConCon ( BlisConstraint * con1,
BlisConstraint * con2,
double threshold = 1.0 )

Check if a row cut parallel with a constraint.