# /home/coin/svn-release/Blis-0.93.10/Bcps/examples/Blis/BlisHelp.h File Reference

`#include "AlpsEncoded.h"`
Include dependency graph for BlisHelp.h:

Go to the source code of this file.

## Functions
BlisConstraint * | BlisOsiCutToConstraint (const OsiRowCut *rowCut)
| Convert a OsiRowCut to a Blis Contraint.
OsiRowCut * | BlisConstraintToOsiCut (const BlisConstraint *con)
| Convert a Blis constraint to a OsiRowCut.
int | 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.
CoinWarmStartBasis * | BlisDecodeWarmStart (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.

## Function Documentation

BlisConstraint* BlisOsiCutToConstraint | ( | const OsiRowCut * | rowCut | ) |

Convert a OsiRowCut to a Blis Contraint.

OsiRowCut* BlisConstraintToOsiCut | ( | const BlisConstraint * | con | ) |

Convert a Blis constraint to a OsiRowCut.

int 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.

CoinWarmStartBasis* BlisDecodeWarmStart | ( | 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.