fp20_lpdata.h File Reference

#include "config.h"
#include "fp20_qstruct.h"
#include "fp20_iqsutil.h"
#include "fp20_readline.h"
#include "reporter.h"
#include "fp20_format.h"
#include "fp20_dstruct.h"

Include dependency graph for fp20_lpdata.h:

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

Go to the source code of this file.

Data Structures

struct  fp20_ILLlp_basis
struct  fp20_ILLlp_cache
struct  fp20_ILLlp_predata
struct  fp20_ILLlp_preline
struct  fp20_ILLlp_preop
struct  fp20_ILLlp_rows
struct  fp20_ILLlp_sinfo
struct  fp20_ILLlpdata

Defines

#define fp20_ILL_MAX   (-1)
#define fp20_ILL_MAXINT   (2147483647)
#define fp20_ILL_MIN   (1)
#define fp20_ILL_PRE_ALL
#define fp20_ILL_PRE_DUPLICATE_COL   64
#define fp20_ILL_PRE_DUPLICATE_ROW   32
#define fp20_ILL_PRE_EMPTY_COL   128
#define fp20_ILL_PRE_FIXED   2
#define fp20_ILL_PRE_FORCING   8
#define fp20_ILL_PRE_SCALE   1
#define fp20_ILL_PRE_SIMPLE   (fp20_ILL_PRE_FIXED | fp20_ILL_PRE_EMPTY_COL)
#define fp20_ILL_PRE_SINGLE_COL   16
#define fp20_ILL_PRE_SINGLE_ROW   4

Functions

void fp20_ILLchange_precision (void)
void fp20_ILLend (void)
int fp20_ILLlp_add_logicals (fp20_ILLlpdata *lp)
int fp20_ILLlp_basis_alloc (fp20_ILLlp_basis *B, int ncols, int nrows)
void fp20_ILLlp_basis_free (fp20_ILLlp_basis *B)
void fp20_ILLlp_basis_init (fp20_ILLlp_basis *B)
int fp20_ILLlp_cache_alloc (fp20_ILLlp_cache *C, int ncols, int nrows)
void fp20_ILLlp_cache_free (fp20_ILLlp_cache *C)
void fp20_ILLlp_cache_init (fp20_ILLlp_cache *C)
void fp20_ILLlp_predata_free (fp20_ILLlp_predata *pre)
void fp20_ILLlp_predata_init (fp20_ILLlp_predata *pre)
int fp20_ILLlp_presolve (fp20_ILLlpdata *lp, int pre_types)
void fp20_ILLlp_rows_clear (fp20_ILLlp_rows *lp_rows)
int fp20_ILLlp_rows_init (fp20_ILLlp_rows *lp_rows, fp20_ILLlpdata *lp, int include_logicals)
int fp20_ILLlp_scale (fp20_ILLlpdata *lp)
void fp20_ILLlp_sinfo_free (fp20_ILLlp_sinfo *sinfo)
void fp20_ILLlp_sinfo_init (fp20_ILLlp_sinfo *sinfo)
void fp20_ILLlpdata_free (fp20_ILLlpdata *lp)
void fp20_ILLlpdata_init (fp20_ILLlpdata *lp)
int fp20_ILLprint_report (fp20_ILLlpdata *lp, const char *format,...)
fp20_qsdatafp20_ILLread (fp20_qsline_reader *file, const char *fp20_fname, int isMps)
void fp20_ILLstart (void)

Variables

int fp20___QSEX_SETUP
EGfp20_t fp20_ILL_MAXDOUBLE
EGfp20_t fp20_ILL_MINDOUBLE


Define Documentation

#define fp20_ILL_MAX   (-1)

Definition at line 40 of file fp20_lpdata.h.

#define fp20_ILL_MAXINT   (2147483647)

Definition at line 38 of file fp20_lpdata.h.

#define fp20_ILL_MIN   (1)

Definition at line 39 of file fp20_lpdata.h.

#define fp20_ILL_PRE_ALL

Value:

Definition at line 52 of file fp20_lpdata.h.

#define fp20_ILL_PRE_DUPLICATE_COL   64

Definition at line 50 of file fp20_lpdata.h.

#define fp20_ILL_PRE_DUPLICATE_ROW   32

Definition at line 49 of file fp20_lpdata.h.

#define fp20_ILL_PRE_EMPTY_COL   128

Definition at line 51 of file fp20_lpdata.h.

#define fp20_ILL_PRE_FIXED   2

Definition at line 45 of file fp20_lpdata.h.

#define fp20_ILL_PRE_FORCING   8

Definition at line 47 of file fp20_lpdata.h.

#define fp20_ILL_PRE_SCALE   1

Definition at line 44 of file fp20_lpdata.h.

#define fp20_ILL_PRE_SIMPLE   (fp20_ILL_PRE_FIXED | fp20_ILL_PRE_EMPTY_COL)

Definition at line 55 of file fp20_lpdata.h.

#define fp20_ILL_PRE_SINGLE_COL   16

Definition at line 48 of file fp20_lpdata.h.

#define fp20_ILL_PRE_SINGLE_ROW   4

Definition at line 46 of file fp20_lpdata.h.


Function Documentation

void fp20_ILLchange_precision ( void   ) 

This function re-compute the internal

variables fp20_precision to the (previously set) EGLPNUM_PRECISION value (done with EGlpNumSetPrecision)

Definition at line 178 of file fp20_lpdata.c.

References fp20_ALTPIV_TOLER, fp20_BD_TOLER, fp20_DFEAS_TOLER, fp20_OBJBND_TOLER, fp20_PARAM_MIN_DNORM, fp20_PFEAS_TOLER, fp20_PIVOT_TOLER, fp20_PIVZ_TOLER, fp20_PROGRESS_THRESH, fp20_PROGRESS_ZERO, and fp20_SZERO_TOLER.

void fp20_ILLend ( void   ) 

free any internal data asociated with variable

fp20_precision numbers

Definition at line 229 of file fp20_lpdata.c.

References fp20___QSEX_SETUP, fp20_ALTPIV_TOLER, fp20_BD_TOLER, fp20_CB_EPS, fp20_CB_INF_RATIO, fp20_CB_PRI_RLIMIT, fp20_DBNDPIV_RATIO, fp20_DBNDPIV_TOLER, fp20_DFEAS_TOLER, fp20_ILL_MAXDOUBLE, fp20_ILL_MINDOUBLE, fp20_OBJBND_TOLER, fp20_PARAM_IBASIS_RPIVOT, fp20_PARAM_IBASIS_RTRIANG, fp20_PARAM_MIN_DNORM, fp20_PFEAS_TOLER, fp20_PIVOT_TOLER, fp20_PIVZ_TOLER, fp20_PROGRESS_THRESH, fp20_PROGRESS_ZERO, and fp20_SZERO_TOLER.

int fp20_ILLlp_add_logicals ( fp20_ILLlpdata lp  ) 

int fp20_ILLlp_basis_alloc ( fp20_ILLlp_basis B,
int  ncols,
int  nrows 
)

Definition at line 433 of file fp20_lpdata.c.

References fp20_ILLlp_basis::cstat, fp20_ILLlp_basis_free(), ILL_FAILtrue, ILL_SAFE_MALLOC, fp20_ILLlp_basis::nrows, fp20_ILLlp_basis::nstruct, NULL, and fp20_ILLlp_basis::rstat.

Here is the call graph for this function:

void fp20_ILLlp_basis_free ( fp20_ILLlp_basis B  ) 

Definition at line 418 of file fp20_lpdata.c.

References fp20_ILLlp_basis::colnorms, fp20_ILLlp_basis::cstat, ILL_IFFREE, fp20_ILLlp_basis::nrows, fp20_ILLlp_basis::nstruct, fp20_ILLlp_basis::rownorms, and fp20_ILLlp_basis::rstat.

void fp20_ILLlp_basis_init ( fp20_ILLlp_basis B  ) 

Definition at line 404 of file fp20_lpdata.c.

References fp20_ILLlp_basis::colnorms, fp20_ILLlp_basis::cstat, fp20_ILLlp_basis::nrows, fp20_ILLlp_basis::nstruct, fp20_ILLlp_basis::rownorms, and fp20_ILLlp_basis::rstat.

int fp20_ILLlp_cache_alloc ( fp20_ILLlp_cache C,
int  ncols,
int  nrows 
)

Definition at line 496 of file fp20_lpdata.c.

References fp20_ILLlp_cache_free(), ILL_FAILtrue, fp20_ILLlp_cache::nrows, fp20_ILLlp_cache::nstruct, NULL, fp20_ILLlp_cache::pi, fp20_ILLlp_cache::rc, fp20_ILLlp_cache::slack, and fp20_ILLlp_cache::x.

Here is the call graph for this function:

void fp20_ILLlp_cache_free ( fp20_ILLlp_cache C  ) 

Definition at line 481 of file fp20_lpdata.c.

References fp20_ILLlp_cache::nrows, fp20_ILLlp_cache::nstruct, fp20_ILLlp_cache::pi, fp20_ILLlp_cache::rc, fp20_ILLlp_cache::slack, fp20_ILLlp_cache::status, and fp20_ILLlp_cache::x.

void fp20_ILLlp_cache_init ( fp20_ILLlp_cache C  ) 

Definition at line 465 of file fp20_lpdata.c.

References fp20_ILLlp_cache::nrows, fp20_ILLlp_cache::nstruct, fp20_ILLlp_cache::pi, fp20_ILLlp_cache::rc, fp20_ILLlp_cache::slack, fp20_ILLlp_cache::status, fp20_ILLlp_cache::val, and fp20_ILLlp_cache::x.

void fp20_ILLlp_predata_free ( fp20_ILLlp_predata pre  ) 

Definition at line 2599 of file fp20_presolve.c.

References fp20_ILLlp_predata::colfixval, fp20_ILLlp_predata::colmap, fp20_ILLlp_predata::colscale, fp20_ILLlp_predata_init(), fp20_ILLlp_preop_free(), ILL_IFFREE, fp20_ILLlp_predata::opcount, fp20_ILLlp_predata::oplist, fp20_ILLlp_predata::rowfixval, fp20_ILLlp_predata::rowmap, and fp20_ILLlp_predata::rowscale.

Here is the call graph for this function:

void fp20_ILLlp_predata_init ( fp20_ILLlp_predata pre  ) 

int fp20_ILLlp_presolve ( fp20_ILLlpdata lp,
int  pre_types 
)

Definition at line 462 of file fp20_presolve.c.

References fp20_ILL_LP_STATUS_OK, fp20_ILLlp_predata_free(), fp20_ILLlp_predata_init(), fp20_ILLlp_sinfo_free(), fp20_ILLlp_sinfo_init(), fp20_simple_presolve(), ILL_CLEANUP_IF, ILL_IFFREE, ILL_RETURN, ILL_SAFE_MALLOC, fp20_ILLlpdata::presolve, and fp20_ILLlpdata::sinfo.

Here is the call graph for this function:

void fp20_ILLlp_rows_clear ( fp20_ILLlp_rows lp_rows  ) 

Definition at line 674 of file fp20_lpdata.c.

References ILL_IFFREE, NULL, fp20_ILLlp_rows::rowbeg, fp20_ILLlp_rows::rowcnt, fp20_ILLlp_rows::rowind, and fp20_ILLlp_rows::rowval.

int fp20_ILLlp_rows_init ( fp20_ILLlp_rows lp_rows,
fp20_ILLlpdata lp,
int  include_logicals 
)

Definition at line 531 of file fp20_lpdata.c.

References fp20_ILLlpdata::A, fp20_ILLlp_rows_clear(), ILL_FAILfalse, ILL_FAILtrue, ILL_IFFREE, ILL_SAFE_MALLOC, fp20_ILLmatrix::matbeg, fp20_ILLmatrix::matcnt, fp20_ILLmatrix::matind, fp20_ILLmatrix::matval, fp20_ILLlpdata::ncols, fp20_ILLlpdata::nrows, fp20_ILLlpdata::nstruct, NULL, fp20_ILLlpdata::nzcount, fp20_ILLlp_rows::rowbeg, fp20_ILLlp_rows::rowcnt, fp20_ILLlp_rows::rowind, fp20_ILLlpdata::rowmap, fp20_ILLlp_rows::rowval, and fp20_ILLlpdata::structmap.

Here is the call graph for this function:

int fp20_ILLlp_scale ( fp20_ILLlpdata lp  ) 

void fp20_ILLlp_sinfo_free ( fp20_ILLlp_sinfo sinfo  ) 

void fp20_ILLlp_sinfo_init ( fp20_ILLlp_sinfo sinfo  ) 

void fp20_ILLlpdata_free ( fp20_ILLlpdata lp  ) 

Definition at line 347 of file fp20_lpdata.c.

References fp20_ILLlpdata::A, fp20_ILLlpdata::colnames, fp20_ILLlpdata::coltab, fp20_ILLlp_rows_clear(), fp20_ILLlp_sinfo_free(), fp20_ILLlpdata_init(), fp20_ILLmatrix_free(), ILL_IFFREE, ILLsymboltab_free(), fp20_ILLlpdata::intmarker, fp20_ILLlpdata::is_sos_mem, fp20_ILLlpdata::lower, fp20_ILLlpdata::nrows, fp20_ILLlpdata::nstruct, fp20_ILLlpdata::obj, fp20_ILLlpdata::objname, fp20_ILLlpdata::probname, fp20_ILLlpdata::rA, fp20_ILLlpdata::rangeval, fp20_ILLlpdata::refrowname, fp20_ILLlpdata::rhs, fp20_ILLlpdata::rowmap, fp20_ILLlpdata::rownames, fp20_ILLlpdata::rowtab, fp20_ILLlpdata::sense, fp20_ILLlpdata::sinfo, fp20_ILLlpdata::sos, fp20_ILLlpdata::structmap, and fp20_ILLlpdata::upper.

Here is the call graph for this function:

void fp20_ILLlpdata_init ( fp20_ILLlpdata lp  ) 

Definition at line 302 of file fp20_lpdata.c.

References fp20_ILLlpdata::A, fp20_ILLlpdata::basis, fp20_ILLlpdata::colnames, fp20_ILLlpdata::colsize, fp20_ILLlpdata::coltab, fp20_ILL_MIN, fp20_ILLmatrix_init(), ILL_fprintf(), ILLstring_reporter_init(), ILLsymboltab_init(), fp20_ILLlpdata::intmarker, fp20_ILLlpdata::is_sos_mem, fp20_ILLlpdata::lower, fp20_ILLlpdata::ncols, fp20_ILLlpdata::nrows, fp20_ILLlpdata::nstruct, NULL, fp20_ILLlpdata::nzcount, fp20_ILLlpdata::obj, fp20_ILLlpdata::objname, fp20_ILLlpdata::objsense, fp20_ILLlpdata::probname, fp20_ILLlpdata::rA, fp20_ILLlpdata::rangeval, fp20_ILLlpdata::refind, fp20_ILLlpdata::refrowname, fp20_ILLlpdata::reporter, fp20_ILLlpdata::rhs, fp20_ILLlpdata::rowmap, fp20_ILLlpdata::rownames, fp20_ILLlpdata::rowsize, fp20_ILLlpdata::rowtab, fp20_ILLlpdata::sense, fp20_ILLlpdata::sinfo, fp20_ILLlpdata::sos, fp20_ILLlpdata::structmap, fp20_ILLlpdata::structsize, and fp20_ILLlpdata::upper.

Here is the call graph for this function:

int fp20_ILLprint_report ( fp20_ILLlpdata lp,
const char *  format,
  ... 
)

Definition at line 712 of file fp20_lpdata.c.

References fp20_wr_line().

Here is the call graph for this function:

struct fp20_qsdata* fp20_ILLread ( fp20_qsline_reader file,
const char *  fp20_fname,
int  isMps 
)

Definition at line 257 of file fp20_lpdata.c.

References fp20_qsline_reader::error_collector, fp20_ILLfree_rawlpdata(), fp20_ILLinit_rawlpdata(), fp20_ILLlpdata_init(), fp20_ILLrawlpdata_to_lpdata(), fp20_ILLread_lp(), fp20_ILLread_mps(), fp20_QScreate_prob(), fp20_QSfree_prob(), ILL_CHECKnull, ILL_FAILfalse, ILL_IFFREE, NULL, fp20_ILLlpdata::probname, QS_MIN, and fp20_qsdata::qslp.

Here is the call graph for this function:

void fp20_ILLstart ( void   ) 

initialize fp20_ILL_MAXDOUBLE and other

constants, this funtion should be callef AFTER EGlpNumStart()

Definition at line 102 of file fp20_lpdata.c.

References fp20___QSEX_SETUP, fp20_ALTPIV_TOLER, fp20_BD_TOLER, fp20_CB_EPS, fp20_CB_INF_RATIO, fp20_CB_PRI_RLIMIT, fp20_DBNDPIV_RATIO, fp20_DBNDPIV_TOLER, fp20_DFEAS_TOLER, fp20_ILL_MAXDOUBLE, fp20_ILL_MINDOUBLE, fp20_OBJBND_TOLER, fp20_PARAM_IBASIS_RPIVOT, fp20_PARAM_IBASIS_RTRIANG, fp20_PARAM_MIN_DNORM, fp20_PFEAS_TOLER, fp20_PIVOT_TOLER, fp20_PIVZ_TOLER, fp20_PROGRESS_THRESH, fp20_PROGRESS_ZERO, fp20_SZERO_TOLER, and VERBOSE_LEVEL.


Variable Documentation

int fp20___QSEX_SETUP

Definition at line 100 of file fp20_lpdata.c.

EGfp20_t fp20_ILL_MAXDOUBLE

Definition at line 96 of file fp20_lpdata.c.

EGfp20_t fp20_ILL_MINDOUBLE

Definition at line 97 of file fp20_lpdata.c.


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