|
Public Methods |
void | remove_node_ref (unsigned int _n) |
void | remove_var_ref (unsigned int _n) |
void | remove_const_ref (unsigned int _n) |
| model_gid (model &__m, model_iddata *__i=NULL) |
| model_gid (model &__m, unsigned int n, model_iddata *__i=NULL) |
| model_gid (model &__mr, const model_gid &__m) |
| ~model_gid () |
unsigned int | number_of_nodes () const |
unsigned int | number_of_variables () const |
unsigned int | number_of_constraints () const |
void | number_of_nodes (unsigned int _n) |
void | number_of_variables (unsigned int _n) |
void | number_of_constraints (unsigned int _n) |
void | mk_globref (unsigned int n, const model::walker &__w) |
void | mk_gvarref (unsigned int n, const model::walker &__w) |
void | mk_gconstref (unsigned int n, const model::walker &__w) |
void | make_const_back_ref (unsigned int node, unsigned int cnum) |
unsigned int | get_node_id () |
void | remove_node_id (unsigned int n) |
unsigned int | get_var_id () |
void | remove_var_id (unsigned int n) |
unsigned int | get_const_id () |
void | remove_const_id (unsigned int n) |
void | compress_numbers (bool renumber_vars=false, bool renumber_const=false) |
const model::walker & | node (unsigned int i) const |
const model::walker & | variable (unsigned int i) const |
const model::walker & | constraint (unsigned int i) const |
bool | empty (const model::walker &__x) const |
bool | its_me (const model &__m) const |
model::walker | empty_reference () const |
bool | have_glob_ref (unsigned int _nnum) const |
bool | have_gvar_ref (unsigned int _vnum) const |
bool | have_gconst_ref (unsigned int _cnum) const |
const std::string | var_name (unsigned int n) const |
void | var_name (unsigned int n, const std::string &vn) |
void | var_name (unsigned int n, const char *vn) |
const std::string | const_name (unsigned int n) const |
void | const_name (unsigned int n, const std::string &vn) |
void | const_name (unsigned int n, const char *vn) |
bool | get_const_num (unsigned int node_num, unsigned int &const_num) |
const std::string | obj_name () const |
void | obj_name (const std::string &vn) |
void | obj_name (const char *vn) |
double | obj_adj () const |
void | obj_adj (double adj) |
double | obj_mult () const |
void | obj_mult (double mult) |
size_t | n_fixed_vars () const |
std::pair< const std::string,
double > | fixed_var (unsigned int n) const |
void | fixed_var (const std::string &vn, double val) |
void | fixed_var (const char *vn, double val) |
size_t | n_unused_vars () const |
const std::string & | unused_var (unsigned int n) const |
void | unused_var (const std::string &vn) |
void | unused_var (const char *vn) |
size_t | n_unused_constrs () const |
const std::string & | unused_constr (unsigned int n) const |
void | unused_constr (const std::string &vn) |
void | unused_constr (const char *vn) |
Friends |
class | model_iddata |