dbl_lp.h File Reference

#include "qs_config.h"
#include "dbl_readline.h"
#include "dbl_lpdata.h"
#include "dbl_rawlp.h"
#include "dbl_read_lp.h"
#include "dbl_write_lp.h"

Include dependency graph for dbl_lp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int dbl_ILLis_lp_name_char (int c, int pos)
int dbl_ILLread_constraint_expr (dbl_ILLread_lp_state *state, dbl_rawlpdata *lp, int rowind, int allowNew)
int dbl_ILLread_constraint_name (dbl_ILLread_lp_state *state, char **rowname)
int dbl_ILLread_lp (dbl_qsline_reader *file, const char *dbl_fname, dbl_rawlpdata *lp)
int dbl_ILLread_one_constraint (dbl_ILLread_lp_state *state, const char *rowname, dbl_rawlpdata *lp, int allowNewColsAddRow)
int dbl_ILLwrite_lp (dbl_ILLlpdata *l, dbl_qserror_collector *collector)


Function Documentation

int dbl_ILLis_lp_name_char ( int  c,
int  pos 
)

Definition at line 74 of file dbl_lp.c.

References NULL.

Referenced by dbl_fix_names(), and dbl_ILLread_lp_state_next_var().

int dbl_ILLread_constraint_expr ( dbl_ILLread_lp_state state,
dbl_rawlpdata lp,
int  rowind,
int  allowNew 
)

Definition at line 851 of file dbl_lp.c.

References dbl_add_var(), dbl_ILLlp_error(), dbl_ILLlp_warn(), dbl_ILLraw_rowname(), dbl_ILLread_lp_state_next_var(), dbl_ILLread_lp_state_possible_coef(), dbl_ILLread_lp_state_sign(), and NULL.

Referenced by dbl_ILLread_one_constraint(), and dbl_read_objective().

Here is the call graph for this function:

int dbl_ILLread_constraint_name ( dbl_ILLread_lp_state state,
char **  rowname 
)

Definition at line 971 of file dbl_lp.c.

References dbl_ILLlp_error(), dbl_ILLread_lp_state_colon(), dbl_ILLread_lp_state_has_colon(), dbl_ILLread_lp_state_next_var(), and NULL.

Referenced by dbl_get_row_col_name(), and dbl_read_constraints().

Here is the call graph for this function:

int dbl_ILLread_lp ( dbl_qsline_reader file,
const char *  dbl_fname,
dbl_rawlpdata lp 
)

Definition at line 685 of file dbl_lp.c.

References dbl_ILLread_lp_state::bound_val, dbl_rawlpdata::coltab, dbl_ILLinit_rawlpdata(), dbl_ILLlp_error(), dbl_ILLraw_fill_in_bounds(), dbl_ILLraw_fill_in_rownames(), dbl_ILLread_lp_state_init(), dbl_ILLread_lp_state_keyword(), dbl_ILLread_lp_state_next_field(), dbl_read_bounds(), dbl_read_constraints(), dbl_read_integer(), dbl_read_minmax(), dbl_read_objective(), dbl_read_problem_name(), dbl_qsline_reader::error_collector, ILLsymboltab_create(), dbl_rawlpdata::ncols, dbl_rawlpdata::nrows, NULL, and dbl_rawlpdata::rowtab.

Referenced by dbl_ILLread().

Here is the call graph for this function:

int dbl_ILLread_one_constraint ( dbl_ILLread_lp_state state,
const char *  rowname,
dbl_rawlpdata lp,
int  allowNewColsAddRow 
)

Definition at line 998 of file dbl_lp.c.

References dbl_ILLlp_error(), dbl_ILLraw_add_row(), dbl_ILLraw_rowname(), dbl_ILLread_constraint_expr(), dbl_ILLread_lp_state_sense(), dbl_ILLread_lp_state_value(), ILL_IFTRACE, ILLsymboltab_lookup(), dbl_rawlpdata::nrows, NULL, dbl_rawlpdata::rhs, dbl_rawlpdata::rowsense, dbl_rawlpdata::rowtab, and dbl_ILLread_lp_state::sense_val.

Referenced by dbl_add_col(), dbl_add_row(), and dbl_read_constraints().

Here is the call graph for this function:

int dbl_ILLwrite_lp ( dbl_ILLlpdata l,
dbl_qserror_collector collector 
)

Definition at line 173 of file dbl_lp.c.

References dbl_ILLlpdata::colnames, dbl_ILLlpdata::coltab, dbl_fix_names(), dbl_ILLdata_error(), dbl_ILLlp_rows_init(), dbl_ILLprint_report(), dbl_write_objective(), dbl_write_row(), ILL_FAILfalse, ILL_FAILtrue, ILL_SAFE_MALLOC, ILLsymboltab_contains(), dbl_ILLmatrix::matcols, dbl_ILLlpdata::nrows, dbl_ILLlpdata::nstruct, NULL, dbl_ILLlpdata::objname, dbl_ILLlpdata::rownames, dbl_ILLlpdata::rowtab, dbl_ILLlpdata::sos, and ILLsymboltab::tablesize.

Referenced by dbl_ILLlib_optimize(), dbl_ILLwrite_lp_file(), and dbl_QSreport_prob().

Here is the call graph for this function:


Generated on Thu Mar 29 09:33:44 2012 for QSopt_ex by  doxygen 1.4.7