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

model_iddata Class Reference

#include <model.h>

List of all members.

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


Constructor & Destructor Documentation

model_iddata::model_iddata unsigned int    n = 0 [inline]
 

Definition at line 237 of file model.h.

model_iddata::~model_iddata   [inline]
 

Definition at line 246 of file model.h.


Member Function Documentation

void model_iddata::compress_numbers bool    renum_vars,
bool    renum_consts = false
 

Definition at line 31 of file model.cc.

void model_iddata::const_name unsigned int    n,
const std::string &    cn
[inline]
 

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

const std::string model_iddata::const_name unsigned int    n const [inline]
 

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

bool model_iddata::delete_ref model_gid   __m [inline]
 

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

void model_iddata::fixed_var const std::string &    vn,
double    val
[inline]
 

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

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

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

unsigned int model_iddata::get_const_id   [inline]
 

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

unsigned int model_iddata::get_node_id   [inline]
 

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

unsigned int model_iddata::get_var_id   [inline]
 

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

size_t model_iddata::n_fixed_vars   const [inline]
 

Definition at line 282 of file model.h.

size_t model_iddata::n_unused_constrs   const [inline]
 

Definition at line 290 of file model.h.

size_t model_iddata::n_unused_vars   const [inline]
 

Definition at line 286 of file model.h.

void model_iddata::new_ref model_gid   __m [inline]
 

Definition at line 248 of file model.h.

void model_iddata::number_of_constraints unsigned int    _n [inline]
 

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

unsigned int model_iddata::number_of_constraints   const [inline]
 

Definition at line 254 of file model.h.

void model_iddata::number_of_nodes unsigned int    _n [inline]
 

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

unsigned int model_iddata::number_of_nodes   const [inline]
 

Definition at line 252 of file model.h.

void model_iddata::number_of_variables unsigned int    _n [inline]
 

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

unsigned int model_iddata::number_of_variables   const [inline]
 

Definition at line 253 of file model.h.

void model_iddata::obj_adj double    adj [inline]
 

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

double model_iddata::obj_adj   [inline]
 

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

void model_iddata::obj_mult double    mult [inline]
 

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

double model_iddata::obj_mult   [inline]
 

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

void model_iddata::obj_name const std::string &    vn [inline]
 

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

const std::string model_iddata::obj_name   [inline]
 

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

void model_iddata::remove_const_id unsigned int    n [inline]
 

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

void model_iddata::remove_node_id unsigned int    n [inline]
 

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

void model_iddata::remove_var_id unsigned int    n [inline]
 

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

void model_iddata::unused_constr const std::string &    vn [inline]
 

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

const std::string & model_iddata::unused_constr unsigned int    n const [inline]
 

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

void model_iddata::unused_var const std::string &    vn [inline]
 

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

const std::string & model_iddata::unused_var unsigned int    n const [inline]
 

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

void model_iddata::var_name unsigned int    n,
const std::string &    vn
[inline]
 

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

const std::string model_iddata::var_name unsigned int    n const [inline]
 

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


Friends And Related Function Documentation

friend class model_gid [friend]
 

Definition at line 294 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