Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

model_gid Class Reference

#include <model.h>

Collaboration diagram for model_gid:

Collaboration graph
[legend]
List of all members.

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

Constructor & Destructor Documentation

model_gid::model_gid (  model &    __m,
model_iddata *    __i = NULL
)  [inline]
 

Definition at line 325 of file model.h.

model_gid::model_gid (  model &    __m,
unsigned int    n,
model_iddata *    __i = NULL
)  [inline]
 

Definition at line 336 of file model.h.

model_gid::model_gid (  model &    __mr,
const model_gid &    __m
)  [inline]
 

Definition at line 347 of file model.h.

model_gid::~model_gid (    )  [inline]
 

Definition at line 371 of file model.h.


Member Function Documentation

void model_gid::compress_numbers (  bool    renumber_vars = false,
bool    renumber_const = false
)  [inline]
 

Definition at line 394 of file model.h.

void model_gid::const_name (  unsigned int    n,
const char *    vn
)  [inline]
 

Definition at line 424 of file model.h.

void model_gid::const_name (  unsigned int    n,
const std::string &    vn
)  [inline]
 

Definition at line 422 of file model.h.

const std::string model_gid::const_name (  unsigned int    n )  const [inline]
 

Definition at line 420 of file model.h.

const model::walker& model_gid::constraint (  unsigned int    i )  const [inline]
 

Definition at line 399 of file model.h.

bool model_gid::empty (  const model::walker &    __x )  const [inline]
 

Definition at line 402 of file model.h.

model::walker model_gid::empty_reference (    )  const [inline]
 

Definition at line 405 of file model.h.

void model_gid::fixed_var (  const char *    vn,
double    val
)  [inline]
 

Definition at line 440 of file model.h.

void model_gid::fixed_var (  const std::string &    vn,
double    val
)  [inline]
 

Definition at line 439 of file model.h.

std::pair<const std::string, double> model_gid::fixed_var (  unsigned int    n )  const [inline]
 

Definition at line 437 of file model.h.

unsigned int model_gid::get_const_id (    )  [inline]
 

Definition at line 392 of file model.h.

bool model_gid::get_const_num (  unsigned int    node_num,
unsigned int &    const_num
)  [inline]
 

Definition at line 388 of file model-inline.h.

unsigned int model_gid::get_node_id (    )  [inline]
 

Definition at line 388 of file model.h.

unsigned int model_gid::get_var_id (    )  [inline]
 

Definition at line 390 of file model.h.

bool model_gid::have_gconst_ref (  unsigned int    _cnum )  const [inline]
 

Definition at line 411 of file model.h.

bool model_gid::have_glob_ref (  unsigned int    _nnum )  const [inline]
 

Definition at line 407 of file model.h.

bool model_gid::have_gvar_ref (  unsigned int    _vnum )  const [inline]
 

Definition at line 409 of file model.h.

bool model_gid::its_me (  const model &    __m )  const [inline]
 

Definition at line 404 of file model.h.

void model_gid::make_const_back_ref (  unsigned int    node,
unsigned int    cnum
)  [inline]
 

Definition at line 399 of file model-inline.h.

void model_gid::mk_gconstref (  unsigned int    n,
const model::walker &    __w
)  [inline]
 

Definition at line 348 of file model-inline.h.

void model_gid::mk_globref (  unsigned int    n,
const model::walker &    __w
)  [inline]
 

Definition at line 322 of file model-inline.h.

void model_gid::mk_gvarref (  unsigned int    n,
const model::walker &    __w
)  [inline]
 

Definition at line 335 of file model-inline.h.

size_t model_gid::n_fixed_vars (    )  const [inline]
 

Definition at line 436 of file model.h.

size_t model_gid::n_unused_constrs (    )  const [inline]
 

Definition at line 449 of file model.h.

size_t model_gid::n_unused_vars (    )  const [inline]
 

Definition at line 443 of file model.h.

const model::walker& model_gid::node (  unsigned int    i )  const [inline]
 

Definition at line 397 of file model.h.

void model_gid::number_of_constraints (  unsigned int    _n )  [inline]
 

Definition at line 380 of file model.h.

unsigned int model_gid::number_of_constraints (    )  const [inline]
 

Definition at line 376 of file model.h.

void model_gid::number_of_nodes (  unsigned int    _n )  [inline]
 

Definition at line 378 of file model.h.

unsigned int model_gid::number_of_nodes (    )  const [inline]
 

Definition at line 373 of file model.h.

void model_gid::number_of_variables (  unsigned int    _n )  [inline]
 

Definition at line 379 of file model.h.

unsigned int model_gid::number_of_variables (    )  const [inline]
 

Definition at line 374 of file model.h.

void model_gid::obj_adj (  double    adj )  [inline]
 

Definition at line 432 of file model.h.

double model_gid::obj_adj (    )  const [inline]
 

Definition at line 431 of file model.h.

void model_gid::obj_mult (  double    mult )  [inline]
 

Definition at line 434 of file model.h.

double model_gid::obj_mult (    )  const [inline]
 

Definition at line 433 of file model.h.

void model_gid::obj_name (  const char *    vn )  [inline]
 

Definition at line 430 of file model.h.

void model_gid::obj_name (  const std::string &    vn )  [inline]
 

Definition at line 429 of file model.h.

const std::string model_gid::obj_name (    )  const [inline]
 

Definition at line 428 of file model.h.

void model_gid::remove_const_id (  unsigned int    n )  [inline]
 

Definition at line 393 of file model.h.

void model_gid::remove_const_ref (  unsigned int    _n )  [inline]
 

Definition at line 366 of file model-inline.h.

void model_gid::remove_node_id (  unsigned int    n )  [inline]
 

Definition at line 389 of file model.h.

void model_gid::remove_node_ref (  unsigned int    _n )  [inline]
 

Definition at line 317 of file model.h.

void model_gid::remove_var_id (  unsigned int    n )  [inline]
 

Definition at line 391 of file model.h.

void model_gid::remove_var_ref (  unsigned int    _n )  [inline]
 

Definition at line 320 of file model.h.

void model_gid::unused_constr (  const char *    vn )  [inline]
 

Definition at line 453 of file model.h.

void model_gid::unused_constr (  const std::string &    vn )  [inline]
 

Definition at line 452 of file model.h.

const std::string& model_gid::unused_constr (  unsigned int    n )  const [inline]
 

Definition at line 450 of file model.h.

void model_gid::unused_var (  const char *    vn )  [inline]
 

Definition at line 447 of file model.h.

void model_gid::unused_var (  const std::string &    vn )  [inline]
 

Definition at line 446 of file model.h.

const std::string& model_gid::unused_var (  unsigned int    n )  const [inline]
 

Definition at line 444 of file model.h.

void model_gid::var_name (  unsigned int    n,
const char *    vn
)  [inline]
 

Definition at line 417 of file model.h.

void model_gid::var_name (  unsigned int    n,
const std::string &    vn
)  [inline]
 

Definition at line 416 of file model.h.

const std::string model_gid::var_name (  unsigned int    n )  const [inline]
 

Definition at line 415 of file model.h.

const model::walker& model_gid::variable (  unsigned int    i )  const [inline]
 

Definition at line 398 of file model.h.


Friends And Related Function Documentation

friend class model_iddata [friend]
 

Definition at line 455 of file model.h.


The documentation for this class was generated from the following files:
Generated on Tue Nov 4 01:59:26 2003 for COCONUT API by doxygen1.2.18