#include <model.h>
Public Methods | |
model_iddata (unsigned int n=0) | |
~model_iddata () | |
void | new_ref (model_gid &__m) |
bool | delete_ref (model_gid &__m) |
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) |
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 renum_vars, bool renum_consts=false) |
const std::string | var_name (unsigned int n) const |
void | var_name (unsigned int n, const std::string &vn) |
const std::string | const_name (unsigned int n) const |
void | const_name (unsigned int n, const std::string &cn) |
const std::string | obj_name () const |
void | obj_name (const std::string &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) |
size_t | n_unused_vars () const |
const std::string & | unused_var (unsigned int n) const |
void | unused_var (const std::string &vn) |
size_t | n_unused_constrs () const |
const std::string & | unused_constr (unsigned int n) const |
void | unused_constr (const std::string &vn) |
Friends | |
class | model_gid |
|
|
|
|
|
|
|
Definition at line 182 of file model-inline.h. |
|
Definition at line 170 of file model-inline.h. |
|
Definition at line 33 of file model-inline.h. |
|
Definition at line 219 of file model-inline.h. |
|
Definition at line 208 of file model-inline.h. |
|
Definition at line 95 of file model-inline.h. |
|
Definition at line 47 of file model-inline.h. |
|
Definition at line 70 of file model-inline.h. |
|
|
|
|
|
|
|
|
|
Definition at line 137 of file model-inline.h. |
|
|
|
Definition at line 120 of file model-inline.h. |
|
|
|
Definition at line 128 of file model-inline.h. |
|
|
|
Definition at line 204 of file model-inline.h. |
|
Definition at line 203 of file model-inline.h. |
|
Definition at line 206 of file model-inline.h. |
|
Definition at line 205 of file model-inline.h. |
|
Definition at line 202 of file model-inline.h. |
|
Definition at line 194 of file model-inline.h. |
|
Definition at line 107 of file model-inline.h. |
|
Definition at line 59 of file model-inline.h. |
|
Definition at line 82 of file model-inline.h. |
|
Definition at line 249 of file model-inline.h. |
|
Definition at line 239 of file model-inline.h. |
|
Definition at line 234 of file model-inline.h. |
|
Definition at line 224 of file model-inline.h. |
|
Definition at line 158 of file model-inline.h. |
|
Definition at line 146 of file model-inline.h. |
|
|