fp20_lp.h File Reference

#include "qs_config.h"
#include "fp20_readline.h"
#include "fp20_lpdata.h"
#include "fp20_rawlp.h"
#include "fp20_read_lp.h"
#include "fp20_write_lp.h"

Include dependency graph for fp20_lp.h:

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

Go to the source code of this file.

Functions

int fp20_ILLis_lp_name_char (int c, int pos)
int fp20_ILLread_constraint_expr (fp20_ILLread_lp_state *state, fp20_rawlpdata *lp, int rowind, int allowNew)
int fp20_ILLread_constraint_name (fp20_ILLread_lp_state *state, char **rowname)
int fp20_ILLread_lp (fp20_qsline_reader *file, const char *fp20_fname, fp20_rawlpdata *lp)
int fp20_ILLread_one_constraint (fp20_ILLread_lp_state *state, const char *rowname, fp20_rawlpdata *lp, int allowNewColsAddRow)
int fp20_ILLwrite_lp (fp20_ILLlpdata *l, fp20_qserror_collector *collector)


Function Documentation

int fp20_ILLis_lp_name_char ( int  c,
int  pos 
)

Definition at line 74 of file fp20_lp.c.

References NULL.

Referenced by fp20_fix_names(), and fp20_ILLread_lp_state_next_var().

int fp20_ILLread_constraint_expr ( fp20_ILLread_lp_state state,
fp20_rawlpdata lp,
int  rowind,
int  allowNew 
)

Definition at line 851 of file fp20_lp.c.

References fp20_add_var(), fp20_ILLlp_error(), fp20_ILLlp_warn(), fp20_ILLraw_rowname(), fp20_ILLread_lp_state_next_var(), fp20_ILLread_lp_state_possible_coef(), fp20_ILLread_lp_state_sign(), and NULL.

Referenced by fp20_ILLread_one_constraint(), and fp20_read_objective().

Here is the call graph for this function:

int fp20_ILLread_constraint_name ( fp20_ILLread_lp_state state,
char **  rowname 
)

Definition at line 971 of file fp20_lp.c.

References fp20_ILLlp_error(), fp20_ILLread_lp_state_colon(), fp20_ILLread_lp_state_has_colon(), fp20_ILLread_lp_state_next_var(), and NULL.

Referenced by fp20_get_row_col_name(), and fp20_read_constraints().

Here is the call graph for this function:

int fp20_ILLread_lp ( fp20_qsline_reader file,
const char *  fp20_fname,
fp20_rawlpdata lp 
)

Definition at line 685 of file fp20_lp.c.

References fp20_ILLread_lp_state::bound_val, fp20_rawlpdata::coltab, fp20_qsline_reader::error_collector, fp20_ILLinit_rawlpdata(), fp20_ILLlp_error(), fp20_ILLraw_fill_in_bounds(), fp20_ILLraw_fill_in_rownames(), fp20_ILLread_lp_state_init(), fp20_ILLread_lp_state_keyword(), fp20_ILLread_lp_state_next_field(), fp20_read_bounds(), fp20_read_constraints(), fp20_read_integer(), fp20_read_minmax(), fp20_read_objective(), fp20_read_problem_name(), ILLsymboltab_create(), fp20_rawlpdata::ncols, fp20_rawlpdata::nrows, NULL, and fp20_rawlpdata::rowtab.

Referenced by fp20_ILLread().

Here is the call graph for this function:

int fp20_ILLread_one_constraint ( fp20_ILLread_lp_state state,
const char *  rowname,
fp20_rawlpdata lp,
int  allowNewColsAddRow 
)

Definition at line 998 of file fp20_lp.c.

References fp20_ILLlp_error(), fp20_ILLraw_add_row(), fp20_ILLraw_rowname(), fp20_ILLread_constraint_expr(), fp20_ILLread_lp_state_sense(), fp20_ILLread_lp_state_value(), ILL_IFTRACE, ILLsymboltab_lookup(), fp20_rawlpdata::nrows, NULL, fp20_rawlpdata::rhs, fp20_rawlpdata::rowsense, fp20_rawlpdata::rowtab, and fp20_ILLread_lp_state::sense_val.

Referenced by fp20_add_col(), fp20_add_row(), and fp20_read_constraints().

Here is the call graph for this function:

int fp20_ILLwrite_lp ( fp20_ILLlpdata l,
fp20_qserror_collector collector 
)

Definition at line 173 of file fp20_lp.c.

References fp20_ILLlpdata::colnames, fp20_ILLlpdata::coltab, fp20_fix_names(), fp20_ILLdata_error(), fp20_ILLlp_rows_init(), fp20_ILLprint_report(), fp20_write_objective(), fp20_write_row(), ILL_FAILfalse, ILL_FAILtrue, ILL_SAFE_MALLOC, ILLsymboltab_contains(), fp20_ILLmatrix::matcols, fp20_ILLlpdata::nrows, fp20_ILLlpdata::nstruct, NULL, fp20_ILLlpdata::objname, fp20_ILLlpdata::rownames, fp20_ILLlpdata::rowtab, fp20_ILLlpdata::sos, and ILLsymboltab::tablesize.

Referenced by fp20_ILLlib_optimize(), fp20_ILLwrite_lp_file(), and fp20_QSreport_prob().

Here is the call graph for this function:


Generated on Thu Mar 29 09:38:06 2012 for QSopt_ex by  doxygen 1.4.7