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