|
Bcps
0.94.2
|
#include <BcpsModel.h>
Inheritance diagram for BcpsModel:
Collaboration diagram for BcpsModel:Public Member Functions | |
| BcpsModel () | |
| virtual | ~BcpsModel () |
| std::vector< BcpsVariable * > | getVariables () const |
| Return list of variables. More... | |
| std::vector< BcpsConstraint * > | getConstrints () const |
| Return list of constraints. More... | |
| CoinMessageHandler * | bcpsMessageHandler () const |
| Get the message handler. More... | |
| CoinMessages | bcpsMessages () |
| Return messages. More... | |
| AlpsReturnStatus | encodeBcps (AlpsEncoded *encoded) const |
| Pack Bcps portion of model into an encoded object. More... | |
| AlpsReturnStatus | decodeBcps (AlpsEncoded &encoded) |
| Unpack Bcps portion of model from an encoded object. More... | |
| std::vector< BcpsConstraint * > & | getConstraints () |
| Get variables and constraints. More... | |
| std::vector< BcpsVariable * > & | getVariables () |
| int | getNumCoreConstraints () const |
| int | getNumCoreVariables () const |
| void | setConstraints (BcpsConstraint **con, int size) |
| Set variables and constraints. More... | |
| void | setNumCoreConstraints (int num) |
| void | setVariables (BcpsVariable **var, int size) |
| void | setNumCoreVariables (int num) |
Protected Attributes | |
| std::vector< BcpsConstraint * > | constraints_ |
| Constraints input by users (before preprocessing). More... | |
| std::vector< BcpsVariable * > | variables_ |
| Variables input by users (before preprocessing). More... | |
| int | numCoreConstraints_ |
| Number of core constraints. More... | |
| int | numCoreVariables_ |
| Number of core variables. More... | |
| CoinMessageHandler * | bcpsMessageHandler_ |
| Message handler. More... | |
| CoinMessages | bcpsMessages_ |
| Bcps messages. More... | |
Definition at line 40 of file BcpsModel.h.
|
inline |
Definition at line 67 of file BcpsModel.h.
|
inlinevirtual |
Definition at line 77 of file BcpsModel.h.
|
inline |
Get variables and constraints.
Definition at line 92 of file BcpsModel.h.
|
inline |
Definition at line 93 of file BcpsModel.h.
|
inline |
Definition at line 95 of file BcpsModel.h.
|
inline |
Definition at line 96 of file BcpsModel.h.
|
inline |
Set variables and constraints.
Definition at line 101 of file BcpsModel.h.
|
inline |
Definition at line 106 of file BcpsModel.h.
|
inline |
Definition at line 108 of file BcpsModel.h.
|
inline |
Definition at line 113 of file BcpsModel.h.
|
inline |
Return list of variables.
Definition at line 117 of file BcpsModel.h.
|
inline |
Return list of constraints.
Definition at line 120 of file BcpsModel.h.
|
inline |
Get the message handler.
Definition at line 123 of file BcpsModel.h.
|
inline |
Return messages.
Definition at line 127 of file BcpsModel.h.
| AlpsReturnStatus BcpsModel::encodeBcps | ( | AlpsEncoded * | encoded | ) | const |
Pack Bcps portion of model into an encoded object.
| AlpsReturnStatus BcpsModel::decodeBcps | ( | AlpsEncoded & | encoded | ) |
Unpack Bcps portion of model from an encoded object.
|
protected |
Constraints input by users (before preprocessing).
Definition at line 45 of file BcpsModel.h.
|
protected |
Variables input by users (before preprocessing).
Definition at line 48 of file BcpsModel.h.
|
protected |
Number of core constraints.
By default, all input constraints are core.
Definition at line 54 of file BcpsModel.h.
|
protected |
Number of core variables.
By default, all input variables are core.
Definition at line 57 of file BcpsModel.h.
|
protected |
Message handler.
Definition at line 60 of file BcpsModel.h.
|
protected |
Bcps messages.
Definition at line 63 of file BcpsModel.h.
1.8.9.1