Blis 0.95.0
Loading...
Searching...
No Matches
Functions
BlisHelp.h File Reference
#include "AlpsEncoded.h"
#include "BlisConfig.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

BLISLIB_EXPORT BlisConstraintBlisOsiCutToConstraint (const OsiRowCut *rowCut)
 Convert a OsiRowCut to a Blis Contraint.
 
BLISLIB_EXPORT 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.
 
BLISLIB_EXPORT int BlisEncodeWarmStart (AlpsEncoded *encoded, const CoinWarmStartBasis *ws)
 Pack coin warm start into an encoded object.
 
BLISLIB_EXPORT CoinWarmStartBasis * BlisDecodeWarmStart (AlpsEncoded &encoded, AlpsReturnStatus *rc)
 Unpack coin warm start from an encoded object.
 
BLISLIB_EXPORT double BlisHashingOsiRowCut (const OsiRowCut *rowCut, const BlisModel *model)
 Compute and return a hash value of an Osi row cut.
 
BLISLIB_EXPORT bool BlisParallelCutCut (OsiRowCut *rowCut1, OsiRowCut *rowCut2, double threshold=1.0)
 Check if a row cut parallel with another row cut.
 
BLISLIB_EXPORT bool BlisParallelCutCon (OsiRowCut *rowCut, BlisConstraint *con, double threshold=1.0)
 Check if a row cut parallel with a constraint.
 
BLISLIB_EXPORT bool BlisParallelConCon (BlisConstraint *con1, BlisConstraint *con2, double threshold=1.0)
 Check if a row cut parallel with a constraint.
 

Function Documentation

◆ BlisOsiCutToConstraint()

BLISLIB_EXPORT BlisConstraint * BlisOsiCutToConstraint ( const OsiRowCut * rowCut)

Convert a OsiRowCut to a Blis Contraint.

◆ BlisStrongBranch()

BLISLIB_EXPORT 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()

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

Pack coin warm start into an encoded object.

◆ BlisDecodeWarmStart()

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

Unpack coin warm start from an encoded object.

◆ BlisHashingOsiRowCut()

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

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

◆ BlisParallelCutCut()

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

Check if a row cut parallel with another row cut.

◆ BlisParallelCutCon()

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

Check if a row cut parallel with a constraint.

◆ BlisParallelConCon()

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

Check if a row cut parallel with a constraint.