#include <BlisConstraint.h>
|
| BlisConstraint () |
| Default constructor. More...
|
|
| BlisConstraint (int s, const int *ind, const double *val) |
| Useful constructor. More...
|
|
| BlisConstraint (double lbh, double ubh, double lbs, double ubs) |
| Useful constructor. More...
|
|
| BlisConstraint (double lbh, double ubh, double lbs, double ubs, int size, const int *ind, const double *val) |
| Useful constructor. More...
|
|
virtual | ~BlisConstraint () |
| Destructor. More...
|
|
| BlisConstraint (const BlisConstraint &rhs) |
| Copy constructor. More...
|
|
OsiRowCut * | createOsiRowCut () |
| Create a OsiRowCut based on this constraint. More...
|
|
virtual void | hashing (BcpsModel *model=NULL) |
| Compute a hash key. More...
|
|
double | violation (const double *lpSolution) |
| Check if violates a given lp solution. More...
|
|
virtual AlpsReturnStatus | encode (AlpsEncoded *encoded) |
| Pack into a encode object. More...
|
|
virtual AlpsKnowledge * | decode (AlpsEncoded &encoded) const |
| Decode a constraint from an encoded object. More...
|
|
|
int | getSize () const |
| Return data. More...
|
|
int * | getIndices () const |
|
double * | getValues () const |
|
|
void | setData (int s, const int *ind, const double *val) |
| Set data. More...
|
|
|
AlpsReturnStatus | encodeBlis (AlpsEncoded *encoded) |
| Pack Blis part into an encoded object. More...
|
|
AlpsReturnStatus | decodeBlis (AlpsEncoded &encoded) |
| Unpack Blis part from a encode object. More...
|
|
Definition at line 33 of file BlisConstraint.h.
BlisConstraint::BlisConstraint |
( |
| ) |
|
BlisConstraint::BlisConstraint |
( |
int |
s, |
|
|
const int * |
ind, |
|
|
const double * |
val |
|
) |
| |
BlisConstraint::BlisConstraint |
( |
double |
lbh, |
|
|
double |
ubh, |
|
|
double |
lbs, |
|
|
double |
ubs |
|
) |
| |
BlisConstraint::BlisConstraint |
( |
double |
lbh, |
|
|
double |
ubh, |
|
|
double |
lbs, |
|
|
double |
ubs, |
|
|
int |
size, |
|
|
const int * |
ind, |
|
|
const double * |
val |
|
) |
| |
virtual BlisConstraint::~BlisConstraint |
( |
| ) |
|
|
virtual |
int BlisConstraint::getSize |
( |
| ) |
const |
|
inline |
int* BlisConstraint::getIndices |
( |
| ) |
const |
|
inline |
double* BlisConstraint::getValues |
( |
| ) |
const |
|
inline |
void BlisConstraint::setData |
( |
int |
s, |
|
|
const int * |
ind, |
|
|
const double * |
val |
|
) |
| |
|
inline |
AlpsReturnStatus BlisConstraint::encodeBlis |
( |
AlpsEncoded * |
encoded | ) |
|
|
protected |
Pack Blis part into an encoded object.
AlpsReturnStatus BlisConstraint::decodeBlis |
( |
AlpsEncoded & |
encoded | ) |
|
|
protected |
Unpack Blis part from a encode object.
OsiRowCut* BlisConstraint::createOsiRowCut |
( |
| ) |
|
Create a OsiRowCut based on this constraint.
virtual void BlisConstraint::hashing |
( |
BcpsModel * |
model = NULL | ) |
|
|
virtual |
double BlisConstraint::violation |
( |
const double * |
lpSolution | ) |
|
Check if violates a given lp solution.
virtual AlpsReturnStatus BlisConstraint::encode |
( |
AlpsEncoded * |
encoded | ) |
|
|
virtual |
Pack into a encode object.
virtual AlpsKnowledge* BlisConstraint::decode |
( |
AlpsEncoded & |
encoded | ) |
const |
|
virtual |
Decode a constraint from an encoded object.
int BlisConstraint::size_ |
|
protected |
int* BlisConstraint::indices_ |
|
protected |
double* BlisConstraint::values_ |
|
protected |
The documentation for this class was generated from the following file: