dbl_lpdata.h File Reference

#include "config.h"
#include "dbl_qstruct.h"
#include "dbl_iqsutil.h"
#include "dbl_readline.h"
#include "reporter.h"
#include "dbl_format.h"
#include "dbl_dstruct.h"

Include dependency graph for dbl_lpdata.h:

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

Go to the source code of this file.

Data Structures

struct  dbl_ILLlp_basis
struct  dbl_ILLlp_cache
struct  dbl_ILLlp_predata
struct  dbl_ILLlp_preline
struct  dbl_ILLlp_preop
struct  dbl_ILLlp_rows
struct  dbl_ILLlp_sinfo
struct  dbl_ILLlpdata

Defines

#define dbl_ILL_MAX   (-1)
#define dbl_ILL_MAXINT   (2147483647)
#define dbl_ILL_MIN   (1)
#define dbl_ILL_PRE_ALL
#define dbl_ILL_PRE_DUPLICATE_COL   64
#define dbl_ILL_PRE_DUPLICATE_ROW   32
#define dbl_ILL_PRE_EMPTY_COL   128
#define dbl_ILL_PRE_FIXED   2
#define dbl_ILL_PRE_FORCING   8
#define dbl_ILL_PRE_SCALE   1
#define dbl_ILL_PRE_SIMPLE   (dbl_ILL_PRE_FIXED | dbl_ILL_PRE_EMPTY_COL)
#define dbl_ILL_PRE_SINGLE_COL   16
#define dbl_ILL_PRE_SINGLE_ROW   4

Functions

void dbl_ILLchange_precision (void)
void dbl_ILLend (void)
int dbl_ILLlp_add_logicals (dbl_ILLlpdata *lp)
int dbl_ILLlp_basis_alloc (dbl_ILLlp_basis *B, int ncols, int nrows)
void dbl_ILLlp_basis_free (dbl_ILLlp_basis *B)
void dbl_ILLlp_basis_init (dbl_ILLlp_basis *B)
int dbl_ILLlp_cache_alloc (dbl_ILLlp_cache *C, int ncols, int nrows)
void dbl_ILLlp_cache_free (dbl_ILLlp_cache *C)
void dbl_ILLlp_cache_init (dbl_ILLlp_cache *C)
void dbl_ILLlp_predata_free (dbl_ILLlp_predata *pre)
void dbl_ILLlp_predata_init (dbl_ILLlp_predata *pre)
int dbl_ILLlp_presolve (dbl_ILLlpdata *lp, int pre_types)
void dbl_ILLlp_rows_clear (dbl_ILLlp_rows *lp_rows)
int dbl_ILLlp_rows_init (dbl_ILLlp_rows *lp_rows, dbl_ILLlpdata *lp, int include_logicals)
int dbl_ILLlp_scale (dbl_ILLlpdata *lp)
void dbl_ILLlp_sinfo_free (dbl_ILLlp_sinfo *sinfo)
void dbl_ILLlp_sinfo_init (dbl_ILLlp_sinfo *sinfo)
void dbl_ILLlpdata_free (dbl_ILLlpdata *lp)
void dbl_ILLlpdata_init (dbl_ILLlpdata *lp)
int dbl_ILLprint_report (dbl_ILLlpdata *lp, const char *format,...)
dbl_qsdatadbl_ILLread (dbl_qsline_reader *file, const char *dbl_fname, int isMps)
void dbl_ILLstart (void)

Variables

int dbl___QSEX_SETUP
double dbl_ILL_MAXDOUBLE
double dbl_ILL_MINDOUBLE


Define Documentation

#define dbl_ILL_MAX   (-1)

Definition at line 40 of file dbl_lpdata.h.

#define dbl_ILL_MAXINT   (2147483647)

Definition at line 38 of file dbl_lpdata.h.

#define dbl_ILL_MIN   (1)

Definition at line 39 of file dbl_lpdata.h.

#define dbl_ILL_PRE_ALL

Value:

Definition at line 52 of file dbl_lpdata.h.

#define dbl_ILL_PRE_DUPLICATE_COL   64

Definition at line 50 of file dbl_lpdata.h.

#define dbl_ILL_PRE_DUPLICATE_ROW   32

Definition at line 49 of file dbl_lpdata.h.

#define dbl_ILL_PRE_EMPTY_COL   128

Definition at line 51 of file dbl_lpdata.h.

#define dbl_ILL_PRE_FIXED   2

Definition at line 45 of file dbl_lpdata.h.

#define dbl_ILL_PRE_FORCING   8

Definition at line 47 of file dbl_lpdata.h.

#define dbl_ILL_PRE_SCALE   1

Definition at line 44 of file dbl_lpdata.h.

#define dbl_ILL_PRE_SIMPLE   (dbl_ILL_PRE_FIXED | dbl_ILL_PRE_EMPTY_COL)

Definition at line 55 of file dbl_lpdata.h.

#define dbl_ILL_PRE_SINGLE_COL   16

Definition at line 48 of file dbl_lpdata.h.

#define dbl_ILL_PRE_SINGLE_ROW   4

Definition at line 46 of file dbl_lpdata.h.


Function Documentation

void dbl_ILLchange_precision ( void   ) 

This function re-compute the internal

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

Definition at line 178 of file dbl_lpdata.c.

References dbl_ALTPIV_TOLER, dbl_BD_TOLER, dbl_DFEAS_TOLER, dbl_OBJBND_TOLER, dbl_PARAM_MIN_DNORM, dbl_PFEAS_TOLER, dbl_PIVOT_TOLER, dbl_PIVZ_TOLER, dbl_PROGRESS_THRESH, dbl_PROGRESS_ZERO, and dbl_SZERO_TOLER.

void dbl_ILLend ( void   ) 

free any internal data asociated with variable

dbl_precision numbers

Definition at line 229 of file dbl_lpdata.c.

References dbl___QSEX_SETUP, dbl_ALTPIV_TOLER, dbl_BD_TOLER, dbl_CB_EPS, dbl_CB_INF_RATIO, dbl_CB_PRI_RLIMIT, dbl_DBNDPIV_RATIO, dbl_DBNDPIV_TOLER, dbl_DFEAS_TOLER, dbl_ILL_MAXDOUBLE, dbl_ILL_MINDOUBLE, dbl_OBJBND_TOLER, dbl_PARAM_IBASIS_RPIVOT, dbl_PARAM_IBASIS_RTRIANG, dbl_PARAM_MIN_DNORM, dbl_PFEAS_TOLER, dbl_PIVOT_TOLER, dbl_PIVZ_TOLER, dbl_PROGRESS_THRESH, dbl_PROGRESS_ZERO, and dbl_SZERO_TOLER.

int dbl_ILLlp_add_logicals ( dbl_ILLlpdata lp  ) 

int dbl_ILLlp_basis_alloc ( dbl_ILLlp_basis B,
int  ncols,
int  nrows 
)

Definition at line 433 of file dbl_lpdata.c.

References dbl_ILLlp_basis::cstat, dbl_ILLlp_basis_free(), ILL_FAILtrue, ILL_SAFE_MALLOC, dbl_ILLlp_basis::nrows, dbl_ILLlp_basis::nstruct, NULL, and dbl_ILLlp_basis::rstat.

Here is the call graph for this function:

void dbl_ILLlp_basis_free ( dbl_ILLlp_basis B  ) 

Definition at line 418 of file dbl_lpdata.c.

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

void dbl_ILLlp_basis_init ( dbl_ILLlp_basis B  ) 

Definition at line 404 of file dbl_lpdata.c.

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

int dbl_ILLlp_cache_alloc ( dbl_ILLlp_cache C,
int  ncols,
int  nrows 
)

Definition at line 496 of file dbl_lpdata.c.

References dbl_ILLlp_cache_free(), ILL_FAILtrue, dbl_ILLlp_cache::nrows, dbl_ILLlp_cache::nstruct, NULL, dbl_ILLlp_cache::pi, dbl_ILLlp_cache::rc, dbl_ILLlp_cache::slack, and dbl_ILLlp_cache::x.

Here is the call graph for this function:

void dbl_ILLlp_cache_free ( dbl_ILLlp_cache C  ) 

Definition at line 481 of file dbl_lpdata.c.

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

void dbl_ILLlp_cache_init ( dbl_ILLlp_cache C  ) 

Definition at line 465 of file dbl_lpdata.c.

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

void dbl_ILLlp_predata_free ( dbl_ILLlp_predata pre  ) 

Definition at line 2599 of file dbl_presolve.c.

References dbl_ILLlp_predata::colfixval, dbl_ILLlp_predata::colmap, dbl_ILLlp_predata::colscale, dbl_ILLlp_predata_init(), dbl_ILLlp_preop_free(), ILL_IFFREE, dbl_ILLlp_predata::opcount, dbl_ILLlp_predata::oplist, dbl_ILLlp_predata::rowfixval, dbl_ILLlp_predata::rowmap, and dbl_ILLlp_predata::rowscale.

Here is the call graph for this function:

void dbl_ILLlp_predata_init ( dbl_ILLlp_predata pre  ) 

int dbl_ILLlp_presolve ( dbl_ILLlpdata lp,
int  pre_types 
)

Definition at line 462 of file dbl_presolve.c.

References dbl_ILL_LP_STATUS_OK, dbl_ILLlp_predata_free(), dbl_ILLlp_predata_init(), dbl_ILLlp_sinfo_free(), dbl_ILLlp_sinfo_init(), dbl_simple_presolve(), ILL_CLEANUP_IF, ILL_IFFREE, ILL_RETURN, ILL_SAFE_MALLOC, dbl_ILLlpdata::presolve, and dbl_ILLlpdata::sinfo.

Here is the call graph for this function:

void dbl_ILLlp_rows_clear ( dbl_ILLlp_rows lp_rows  ) 

Definition at line 674 of file dbl_lpdata.c.

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

int dbl_ILLlp_rows_init ( dbl_ILLlp_rows lp_rows,
dbl_ILLlpdata lp,
int  include_logicals 
)

Definition at line 531 of file dbl_lpdata.c.

References dbl_ILLlpdata::A, dbl_ILLlp_rows_clear(), ILL_FAILfalse, ILL_FAILtrue, ILL_IFFREE, ILL_SAFE_MALLOC, dbl_ILLmatrix::matbeg, dbl_ILLmatrix::matcnt, dbl_ILLmatrix::matind, dbl_ILLmatrix::matval, dbl_ILLlpdata::ncols, dbl_ILLlpdata::nrows, dbl_ILLlpdata::nstruct, NULL, dbl_ILLlpdata::nzcount, dbl_ILLlp_rows::rowbeg, dbl_ILLlp_rows::rowcnt, dbl_ILLlp_rows::rowind, dbl_ILLlpdata::rowmap, dbl_ILLlp_rows::rowval, and dbl_ILLlpdata::structmap.

Here is the call graph for this function:

int dbl_ILLlp_scale ( dbl_ILLlpdata lp  ) 

void dbl_ILLlp_sinfo_free ( dbl_ILLlp_sinfo sinfo  ) 

void dbl_ILLlp_sinfo_init ( dbl_ILLlp_sinfo sinfo  ) 

void dbl_ILLlpdata_free ( dbl_ILLlpdata lp  ) 

Definition at line 347 of file dbl_lpdata.c.

References dbl_ILLlpdata::A, dbl_ILLlpdata::colnames, dbl_ILLlpdata::coltab, dbl_ILLlp_rows_clear(), dbl_ILLlp_sinfo_free(), dbl_ILLlpdata_init(), dbl_ILLmatrix_free(), ILL_IFFREE, ILLsymboltab_free(), dbl_ILLlpdata::intmarker, dbl_ILLlpdata::is_sos_mem, dbl_ILLlpdata::lower, dbl_ILLlpdata::nrows, dbl_ILLlpdata::nstruct, dbl_ILLlpdata::obj, dbl_ILLlpdata::objname, dbl_ILLlpdata::probname, dbl_ILLlpdata::rA, dbl_ILLlpdata::rangeval, dbl_ILLlpdata::refrowname, dbl_ILLlpdata::rhs, dbl_ILLlpdata::rowmap, dbl_ILLlpdata::rownames, dbl_ILLlpdata::rowtab, dbl_ILLlpdata::sense, dbl_ILLlpdata::sinfo, dbl_ILLlpdata::sos, dbl_ILLlpdata::structmap, and dbl_ILLlpdata::upper.

Here is the call graph for this function:

void dbl_ILLlpdata_init ( dbl_ILLlpdata lp  ) 

Definition at line 302 of file dbl_lpdata.c.

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

Here is the call graph for this function:

int dbl_ILLprint_report ( dbl_ILLlpdata lp,
const char *  format,
  ... 
)

Definition at line 712 of file dbl_lpdata.c.

References dbl_wr_line().

Here is the call graph for this function:

struct dbl_qsdata* dbl_ILLread ( dbl_qsline_reader file,
const char *  dbl_fname,
int  isMps 
)

Definition at line 257 of file dbl_lpdata.c.

References dbl_ILLfree_rawlpdata(), dbl_ILLinit_rawlpdata(), dbl_ILLlpdata_init(), dbl_ILLrawlpdata_to_lpdata(), dbl_ILLread_lp(), dbl_ILLread_mps(), dbl_QScreate_prob(), dbl_QSfree_prob(), dbl_qsline_reader::error_collector, ILL_CHECKnull, ILL_FAILfalse, ILL_IFFREE, NULL, dbl_ILLlpdata::probname, QS_MIN, and dbl_qsdata::qslp.

Here is the call graph for this function:

void dbl_ILLstart ( void   ) 

initialize dbl_ILL_MAXDOUBLE and other

constants, this funtion should be callef AFTER EGlpNumStart()

Definition at line 102 of file dbl_lpdata.c.

References dbl___QSEX_SETUP, dbl_ALTPIV_TOLER, dbl_BD_TOLER, dbl_CB_EPS, dbl_CB_INF_RATIO, dbl_CB_PRI_RLIMIT, dbl_DBNDPIV_RATIO, dbl_DBNDPIV_TOLER, dbl_DFEAS_TOLER, dbl_ILL_MAXDOUBLE, dbl_ILL_MINDOUBLE, dbl_OBJBND_TOLER, dbl_PARAM_IBASIS_RPIVOT, dbl_PARAM_IBASIS_RTRIANG, dbl_PARAM_MIN_DNORM, dbl_PFEAS_TOLER, dbl_PIVOT_TOLER, dbl_PIVZ_TOLER, dbl_PROGRESS_THRESH, dbl_PROGRESS_ZERO, dbl_SZERO_TOLER, and VERBOSE_LEVEL.


Variable Documentation

int dbl___QSEX_SETUP

Definition at line 100 of file dbl_lpdata.c.

double dbl_ILL_MAXDOUBLE

Definition at line 96 of file dbl_lpdata.c.

double dbl_ILL_MINDOUBLE

Definition at line 97 of file dbl_lpdata.c.


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