float128_lib.c File Reference

#include "qs_config.h"
#include "float128_iqsutil.h"
#include "float128_lpdata.h"
#include "float128_lpdefs.h"
#include "float128_simplex.h"
#include "float128_price.h"
#include "float128_basis.h"
#include "float128_lib.h"
#include "float128_qstruct.h"
#include "float128_qsopt.h"
#include "float128_lp.h"
#include "float128_mps.h"

Include dependency graph for float128_lib.c:

Go to the source code of this file.

Defines

#define float128_EXTRA_COLS   (100)
#define float128_EXTRA_MAT   (1000)
#define float128_EXTRA_ROWS   (100)
#define float128_PRINT_TOL   float128_PFEAS_TOLER
#define float128_READ_BASIS_LL   2
#define float128_READ_BASIS_UL   3
#define float128_READ_BASIS_XL   0
#define float128_READ_BASIS_XU   1

Functions

static void float128_check_pinf (float128_price_info *pinf, int *it_exists)
static int float128_delcols_work (float128_lpinfo *lp, char *colmark)
int float128_ILLlib_addcol (float128_lpinfo *lp, float128_ILLlp_basis *B, int cnt, int *ind, float128 *val, const float128 obj, const float128 lower, const float128 upper, const char *name, int factorok)
int float128_ILLlib_addcols (float128_lpinfo *lp, float128_ILLlp_basis *B, int num, int *cmatcnt, int *cmatbeg, int *cmatind, float128 *cmatval, float128 *obj, float128 *lower, float128 *upper, const char **names, int factorok)
int float128_ILLlib_addrow (float128_lpinfo *lp, float128_ILLlp_basis *B, int cnt, int *ind, const float128 *val, const float128 rhs, int sense, const float128 range, const char *name)
int float128_ILLlib_addrows (float128_lpinfo *lp, float128_ILLlp_basis *B, int num, int *rmatcnt, int *rmatbeg, int *rmatind, const float128 *rmatval, const float128 *rhs, char *sense, const float128 *range, const char **names, int *factorok)
int float128_ILLlib_basis_order (float128_lpinfo *lp, int *header)
int float128_ILLlib_cache_solution (float128_lpinfo *lp, float128_ILLlp_cache *C)
int float128_ILLlib_chgbnd (float128_lpinfo *lp, int indx, int lu, const float128 bnd)
int float128_ILLlib_chgbnds (float128_lpinfo *lp, int cnt, int *indx, char *lu, const float128 *bnd)
int float128_ILLlib_chgcoef (float128_lpinfo *lp, int rowindex, int colindex, float128 coef)
int float128_ILLlib_chgobj (float128_lpinfo *lp, int indx, float128 coef)
int float128_ILLlib_chgrange (float128_lpinfo *lp, int indx, float128 coef)
int float128_ILLlib_chgrhs (float128_lpinfo *lp, int indx, float128 coef)
int float128_ILLlib_chgsense (float128_lpinfo *lp, int num, int *rowlist, char *sense)
int float128_ILLlib_colindex (float128_lpinfo *lp, const char *name, int *colindex)
int float128_ILLlib_colnames (float128_lpinfo *lp, char **colnames)
int float128_ILLlib_delcols (float128_lpinfo *lp, float128_ILLlp_basis *B, int num, int *dellist, int *basis_ok)
int float128_ILLlib_delrows (float128_lpinfo *lp, float128_ILLlp_basis *B, float128_ILLlp_cache *C, int num, int *dellist, int *basis_ok, int *cache_ok)
int float128_ILLlib_findName (float128_ILLlpdata *qslp, int forRow, const char *name, int id, char buf[ILL_namebufsize])
int float128_ILLlib_get_slack (float128_lpinfo *lp, float128_ILLlp_cache *C, float128 *slack)
int float128_ILLlib_get_x (float128_lpinfo *lp, float128_ILLlp_cache *C, float128 *x)
int float128_ILLlib_getbasis (float128_lpinfo *lp, char *cstat, char *rstat)
int float128_ILLlib_getbnd (float128_lpinfo *lp, int indx, int lu, float128 *bnd)
int float128_ILLlib_getbnds (float128_lpinfo *lp, float128 *lower, float128 *upper)
int float128_ILLlib_getbnds_list (float128_lpinfo *lp, int num, int *collist, float128 *lower, float128 *upper)
int float128_ILLlib_getcoef (float128_lpinfo *lp, int rowindex, int colindex, float128 *coef)
int float128_ILLlib_getcols (float128_lpinfo *lp, int num, int *collist, int **colcnt, int **colbeg, int **colind, float128 **colval, float128 **obj, float128 **lower, float128 **upper, char ***names)
int float128_ILLlib_getintflags (float128_lpinfo *lp, int *intflags)
int float128_ILLlib_getobj (float128_lpinfo *lp, float128 *obj)
int float128_ILLlib_getobj_list (float128_lpinfo *lp, int num, int *collist, float128 *obj)
int float128_ILLlib_getrhs (float128_lpinfo *lp, float128 *rhs)
int float128_ILLlib_getrownorms (float128_lpinfo *lp, float128_price_info *pinf, float128 *rownorms)
int float128_ILLlib_getrows (float128_lpinfo *lp, int num, int *rowlist, int **rowcnt, int **rowbeg, int **rowind, float128 **rowval, float128 **rhs, char **sense, float128 **range, char ***names)
int float128_ILLlib_getsenses (float128_lpinfo *lp, char *senses)
int float128_ILLlib_iter (float128_lpinfo *lp)
int float128_ILLlib_loadbasis (float128_ILLlp_basis *B, int nstruct, int nrows, char *cstat, char *rstat)
int float128_ILLlib_loadrownorms (float128_lpinfo *lp, float128_price_info *pinf, float128 *rownorms)
int float128_ILLlib_newcol (float128_lpinfo *lp, float128_ILLlp_basis *B, const float128 obj, const float128 lower, const float128 upper, const char *name, int factorok)
int float128_ILLlib_newcols (float128_lpinfo *lp, float128_ILLlp_basis *B, int num, float128 *obj, float128 *lower, float128 *upper, const char **names, int factorok)
int float128_ILLlib_newrow (float128_lpinfo *lp, float128_ILLlp_basis *B, const float128 rhs, int sense, const float128 range, const char *name)
int float128_ILLlib_newrows (float128_lpinfo *lp, float128_ILLlp_basis *B, int num, const float128 *rhs, char *sense, const float128 *range, const char **names)
int float128_ILLlib_objval (float128_lpinfo *lp, float128_ILLlp_cache *C, float128 *val)
int float128_ILLlib_optimize (float128_lpinfo *lp, float128_ILLlp_basis *B, float128_price_info *pinf, int algo, int *status, int simplex_display, itcnt_t *itcnt)
int float128_ILLlib_print_x (EGioFile_t *fd, float128_lpinfo *lp, float128_ILLlp_cache *C, float128 *x, int nonZerosOnly)
int float128_ILLlib_readbasis (float128_lpinfo *lp, float128_ILLlp_basis *B, const char *float128_fname)
int float128_ILLlib_recompute_rownorms (float128_lpinfo *lp, float128_price_info *pinf)
int float128_ILLlib_rowindex (float128_lpinfo *lp, const char *name, int *rowindex)
int float128_ILLlib_rownames (float128_lpinfo *lp, char **rownames)
int float128_ILLlib_solution (float128_lpinfo *lp, float128_ILLlp_cache *C, float128 *val, float128 *x, float128 *pi, float128 *slack, float128 *rc)
int float128_ILLlib_strongbranch (float128_lpinfo *lp, float128_price_info *pinf, int *candidatelist, int ncand, float128 *xlist, float128 *downpen, float128 *uppen, int iterations, float128 objbound, itcnt_t *itcnt)
int float128_ILLlib_tableau (float128_lpinfo *lp, int row, float128 *binv, float128 *tabrow)
int float128_ILLlib_writebasis (float128_lpinfo *lp, float128_ILLlp_basis *B, const char *float128_fname)
int float128_ILLwrite_lp_file (float128_ILLlpdata *lp, EGioFile_t *out, float128_qserror_collector *c)
static int float128_matrix_addcoef (float128_lpinfo *lp, float128_ILLmatrix *A, int row, int col, float128 val)
static int float128_matrix_addcol (float128_ILLmatrix *A, int colcnt, int *colind, float128 *colval)
static int float128_matrix_addrow (float128_ILLmatrix *A, int rowcnt, int *rowind, const float128 *rowval)
static int float128_matrix_addrow_end (float128_ILLmatrix *A, int row, int rowcnt, int *rowind, const float128 *rowval)
static int float128_matrix_getcoef (float128_ILLmatrix *A, int row, int col, float128 *val)
static int float128_reset_colindex (float128_lpinfo *lp)
static int float128_reset_rowindex (float128_lpinfo *lp)


Define Documentation

#define float128_EXTRA_COLS   (100)

Definition at line 881 of file float128_lib.c.

Referenced by float128_ILLlib_addcol().

#define float128_EXTRA_MAT   (1000)

Definition at line 882 of file float128_lib.c.

Referenced by float128_matrix_addrow_end().

#define float128_EXTRA_ROWS   (100)

Definition at line 880 of file float128_lib.c.

Referenced by float128_ILLlib_addrow().

#define float128_PRINT_TOL   float128_PFEAS_TOLER

Definition at line 4153 of file float128_lib.c.

Referenced by float128_ILLlib_print_x().

#define float128_READ_BASIS_LL   2

Definition at line 3716 of file float128_lib.c.

Referenced by float128_ILLlib_readbasis().

#define float128_READ_BASIS_UL   3

Definition at line 3717 of file float128_lib.c.

Referenced by float128_ILLlib_readbasis().

#define float128_READ_BASIS_XL   0

Definition at line 3714 of file float128_lib.c.

Referenced by float128_ILLlib_readbasis().

#define float128_READ_BASIS_XU   1

Definition at line 3715 of file float128_lib.c.

Referenced by float128_ILLlib_readbasis().


Function Documentation

static void float128_check_pinf ( float128_price_info pinf,
int *  it_exists 
) [static]

Definition at line 4259 of file float128_lib.c.

References float128_price_info::dI_price, float128_price_info::dII_price, float128_price_info::dsinfo, float128_d_steep_info::norms, and QS_PRICE_DSTEEP.

Referenced by float128_ILLlib_getrownorms(), and float128_ILLlib_strongbranch().

static int float128_delcols_work ( float128_lpinfo lp,
char *  colmark 
)

Definition at line 1738 of file float128_lib.c.

References float128_ILLlpdata::A, float128_ILLlpdata::colnames, float128_ILLlpdata::coltab, ILL_IFFREE, ILL_SAFE_MALLOC, ILLsymboltab_delete(), float128_ILLlpdata::intmarker, float128_ILLlpdata::lower, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matcols, float128_ILLmatrix::matind, float128_ILLmatrix::matrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::obj, float128_ILLlpdata::rowmap, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

Here is the call graph for this function:

int float128_ILLlib_addcol ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  cnt,
int *  ind,
float128 *  val,
const float128  obj,
const float128  lower,
const float128  upper,
const char *  name,
int  factorok 
)

Definition at line 2098 of file float128_lib.c.

References float128_ILLlpdata::A, float128_lpinfo::basisid, float128_ILLlpdata::colnames, float128_ILLlp_basis::colnorms, float128_ILLlpdata::colsize, float128_ILLlpdata::coltab, float128_ILLlp_basis::cstat, float128_EXTRA_COLS, float128_ILL_MAXDOUBLE, float128_ILL_MINDOUBLE, float128_ILLlib_findName(), float128_ILLlp_rows_clear(), float128_ILLlp_sinfo_free(), float128_matrix_addcol(), ILL_CLEANUP, ILL_FAILfalse, ILL_FAILtrue, ILL_IFFREE, ILL_namebufsize, ILLsymboltab_register(), float128_ILLlpdata::intmarker, float128_ILLlpdata::lower, float128_lpinfo::nbaz, float128_ILLlpdata::ncols, float128_ILLlpdata::nstruct, NULL, float128_ILLlpdata::nzcount, float128_lpinfo::O, float128_ILLlpdata::obj, QS_COL_BSTAT_FREE, QS_COL_BSTAT_LOWER, QS_COL_BSTAT_UPPER, float128_ILLlpdata::rA, float128_ILLlpdata::sinfo, STAT_LOWER, STAT_UPPER, STAT_ZERO, float128_ILLlpdata::structmap, float128_ILLlpdata::structsize, float128_ILLlpdata::upper, float128_lpinfo::vindex, and float128_lpinfo::vstat.

Here is the call graph for this function:

int float128_ILLlib_addcols ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  num,
int *  cmatcnt,
int *  cmatbeg,
int *  cmatind,
float128 *  cmatval,
float128 *  obj,
float128 *  lower,
float128 *  upper,
const char **  names,
int  factorok 
)

Definition at line 2059 of file float128_lib.c.

References float128_ILLlib_addcol().

Here is the call graph for this function:

int float128_ILLlib_addrow ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  cnt,
int *  ind,
const float128 *  val,
const float128  rhs,
int  sense,
const float128  range,
const char *  name 
)

Definition at line 1145 of file float128_lib.c.

References float128_ILLlpdata::A, float128_EXTRA_ROWS, float128_ILLlp_rows_clear(), float128_ILLlp_sinfo_free(), ILL_CLEANUP, ILL_IFFREE, ILL_namebufsize, float128_ILLlpdata::ncols, float128_ILLlpdata::nrows, float128_lpinfo::O, float128_ILLlpdata::rA, float128_ILLlpdata::rangeval, float128_ILLlpdata::rhs, float128_ILLlpdata::rowmap, float128_ILLlpdata::rownames, float128_ILLlpdata::rowsize, float128_ILLlpdata::sense, and float128_ILLlpdata::sinfo.

Here is the call graph for this function:

int float128_ILLlib_addrows ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  num,
int *  rmatcnt,
int *  rmatbeg,
int *  rmatind,
const float128 *  rmatval,
const float128 *  rhs,
char *  sense,
const float128 *  range,
const char **  names,
int *  factorok 
)

Definition at line 941 of file float128_lib.c.

References float128_ILLlpdata::A, float128_lpinfo::baz, float128_ILLlp_basis::colnorms, float128_ILLprice_get_new_rownorms(), ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLmatrix::matbeg, float128_lpinfo::matbeg, float128_ILLmatrix::matcnt, float128_lpinfo::matcnt, float128_ILLmatrix::matind, float128_lpinfo::matind, float128_ILLmatrix::matval, float128_lpinfo::matval, float128_ILLlpdata::ncols, float128_lpinfo::ncols, float128_ILLlpdata::nrows, float128_lpinfo::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlp_basis::rownorms, float128_ILLlp_basis::rownorms_size, and float128_ILLlpdata::structmap.

Here is the call graph for this function:

int float128_ILLlib_basis_order ( float128_lpinfo lp,
int *  header 
)

Definition at line 497 of file float128_lib.c.

References float128_lpinfo::baz, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLlpdata::ncols, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::rowmap, and float128_ILLlpdata::structmap.

int float128_ILLlib_cache_solution ( float128_lpinfo lp,
float128_ILLlp_cache C 
)

Definition at line 242 of file float128_lib.c.

References float128_ILLlib_solution(), ILL_CLEANUP, float128_ILLlpdata::nrows, float128_ILLlp_cache::nrows, float128_ILLlpdata::nstruct, float128_ILLlp_cache::nstruct, float128_lpinfo::O, float128_ILLlp_cache::pi, float128_ILLlp_cache::rc, float128_ILLlp_cache::slack, float128_ILLlp_cache::val, and float128_ILLlp_cache::x.

Here is the call graph for this function:

int float128_ILLlib_chgbnd ( float128_lpinfo lp,
int  indx,
int  lu,
const float128  bnd 
)

Definition at line 532 of file float128_lib.c.

References float128_ILLlp_sinfo_free(), ILL_CLEANUP, ILL_IFFREE, float128_ILLlpdata::lower, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::sinfo, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

Here is the call graph for this function:

int float128_ILLlib_chgbnds ( float128_lpinfo lp,
int  cnt,
int *  indx,
char *  lu,
const float128 *  bnd 
)

Definition at line 586 of file float128_lib.c.

References float128_ILLlib_chgbnd(), and ILL_CLEANUP.

Here is the call graph for this function:

int float128_ILLlib_chgcoef ( float128_lpinfo lp,
int  rowindex,
int  colindex,
float128  coef 
)

Definition at line 1860 of file float128_lib.c.

References float128_ILLlpdata::A, float128_ILLlp_rows_clear(), float128_ILLlp_sinfo_free(), float128_matrix_addcoef(), ILL_CLEANUP, ILL_IFFREE, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::rA, float128_ILLlpdata::sinfo, and float128_ILLlpdata::structmap.

Here is the call graph for this function:

int float128_ILLlib_chgobj ( float128_lpinfo lp,
int  indx,
float128  coef 
)

Definition at line 3180 of file float128_lib.c.

References float128_ILLlp_sinfo_free(), ILL_CLEANUP, ILL_IFFREE, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::obj, float128_ILLlpdata::sinfo, and float128_ILLlpdata::structmap.

Here is the call graph for this function:

int float128_ILLlib_chgrange ( float128_lpinfo lp,
int  indx,
float128  coef 
)

Definition at line 3244 of file float128_lib.c.

References float128_ILLlp_sinfo_free(), ILL_CLEANUP, ILL_IFFREE, float128_ILLlpdata::nrows, float128_lpinfo::O, float128_ILLlpdata::rangeval, float128_ILLlpdata::rowsize, float128_ILLlpdata::sense, and float128_ILLlpdata::sinfo.

Here is the call graph for this function:

int float128_ILLlib_chgrhs ( float128_lpinfo lp,
int  indx,
float128  coef 
)

Definition at line 3298 of file float128_lib.c.

References float128_ILLlp_sinfo_free(), ILL_CLEANUP, ILL_IFFREE, float128_ILLlpdata::nrows, float128_lpinfo::O, float128_ILLlpdata::rhs, and float128_ILLlpdata::sinfo.

Here is the call graph for this function:

int float128_ILLlib_chgsense ( float128_lpinfo lp,
int  num,
int *  rowlist,
char *  sense 
)

Definition at line 1913 of file float128_lib.c.

References float128_ILLlpdata::A, float128_ILL_MAXDOUBLE, ILL_CLEANUP, float128_ILLlpdata::lower, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matval, float128_lpinfo::O, float128_ILLlpdata::rowmap, float128_ILLlpdata::sense, and float128_ILLlpdata::upper.

int float128_ILLlib_colindex ( float128_lpinfo lp,
const char *  name,
int *  colindex 
)

Definition at line 3522 of file float128_lib.c.

References float128_ILLlpdata::coltab, float128_reset_colindex(), ILL_CLEANUP, ILLsymboltab_getindex(), and float128_lpinfo::O.

Here is the call graph for this function:

int float128_ILLlib_colnames ( float128_lpinfo lp,
char **  colnames 
)

Definition at line 3428 of file float128_lib.c.

References float128_ILLlpdata::colnames, ILL_CLEANUP, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLlpdata::nstruct, and float128_lpinfo::O.

int float128_ILLlib_delcols ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  num,
int *  dellist,
int *  basis_ok 
)

Definition at line 1597 of file float128_lib.c.

References float128_ILLlpdata::A, float128_ILLlp_basis::colnorms, float128_ILLlp_basis::cstat, float128_ILLlp_rows_clear(), ILL_CLEANUP, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLmatrix::matcols, float128_ILLlpdata::nstruct, float128_ILLlp_basis::nstruct, float128_lpinfo::O, QS_COL_BSTAT_BASIC, float128_ILLlpdata::rA, and float128_ILLlpdata::structmap.

Here is the call graph for this function:

int float128_ILLlib_delrows ( float128_lpinfo lp,
float128_ILLlp_basis B,
float128_ILLlp_cache C,
int  num,
int *  dellist,
int *  basis_ok,
int *  cache_ok 
)

Definition at line 1329 of file float128_lib.c.

References float128_ILLlpdata::A, float128_DFEAS_TOLER, float128_ILLlp_rows_clear(), ILL_CLEANUP, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matcols, float128_ILLmatrix::matind, float128_ILLmatrix::matrows, float128_ILLmatrix::matval, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlp_cache::pi, QS_ROW_BSTAT_LOWER, QS_ROW_BSTAT_UPPER, float128_ILLlpdata::rA, and float128_ILLlp_basis::rstat.

Here is the call graph for this function:

int float128_ILLlib_findName ( float128_ILLlpdata qslp,
int  forRow,
const char *  name,
int  id,
char  buf[ILL_namebufsize] 
)

Definition at line 4201 of file float128_lib.c.

References float128_ILLlpdata::coltab, ILLsymboltab_create(), ILLsymboltab_lookup(), ILLsymboltab_uname(), ILLsymboltab_unique_name(), NULL, float128_ILLlpdata::rowtab, and ILLsymboltab::tablesize.

Referenced by float128_get_row_col_name(), and float128_ILLlib_addcol().

Here is the call graph for this function:

int float128_ILLlib_get_slack ( float128_lpinfo lp,
float128_ILLlp_cache C,
float128 *  slack 
)

Definition at line 403 of file float128_lib.c.

References float128_ILLlib_solution().

Here is the call graph for this function:

int float128_ILLlib_get_x ( float128_lpinfo lp,
float128_ILLlp_cache C,
float128 *  x 
)

Definition at line 388 of file float128_lib.c.

References float128_ILLlib_solution().

Here is the call graph for this function:

int float128_ILLlib_getbasis ( float128_lpinfo lp,
char *  cstat,
char *  rstat 
)

Definition at line 3582 of file float128_lib.c.

References float128_lpinfo::basisid, ILL_CLEANUP, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, QS_COL_BSTAT_BASIC, QS_COL_BSTAT_FREE, QS_COL_BSTAT_LOWER, QS_COL_BSTAT_UPPER, STAT_BASIC, STAT_LOWER, STAT_UPPER, STAT_ZERO, float128_ILLlpdata::structmap, and float128_lpinfo::vstat.

int float128_ILLlib_getbnd ( float128_lpinfo lp,
int  indx,
int  lu,
float128 *  bnd 
)

Definition at line 608 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::lower, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

int float128_ILLlib_getbnds ( float128_lpinfo lp,
float128 *  lower,
float128 *  upper 
)

Definition at line 690 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::lower, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

int float128_ILLlib_getbnds_list ( float128_lpinfo lp,
int  num,
int *  collist,
float128 *  lower,
float128 *  upper 
)

Definition at line 652 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::lower, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

int float128_ILLlib_getcoef ( float128_lpinfo lp,
int  rowindex,
int  colindex,
float128 *  coef 
)

Definition at line 1822 of file float128_lib.c.

References float128_ILLlpdata::A, float128_matrix_getcoef(), ILL_CLEANUP, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, and float128_ILLlpdata::structmap.

Here is the call graph for this function:

int float128_ILLlib_getcols ( float128_lpinfo lp,
int  num,
int *  collist,
int **  colcnt,
int **  colbeg,
int **  colind,
float128 **  colval,
float128 **  obj,
float128 **  lower,
float128 **  upper,
char ***  names 
)

Definition at line 2910 of file float128_lib.c.

References float128_ILLlpdata::A, float128_ILLlpdata::colnames, ILL_CLEANUP, ILL_SAFE_MALLOC, float128_ILLlpdata::lower, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matind, float128_ILLmatrix::matval, float128_lpinfo::O, float128_ILLlpdata::obj, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

int float128_ILLlib_getintflags ( float128_lpinfo lp,
int *  intflags 
)

Definition at line 3384 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::intmarker, float128_ILLlpdata::nstruct, and float128_lpinfo::O.

int float128_ILLlib_getobj ( float128_lpinfo lp,
float128 *  obj 
)

Definition at line 3151 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::obj, and float128_ILLlpdata::structmap.

int float128_ILLlib_getobj_list ( float128_lpinfo lp,
int  num,
int *  collist,
float128 *  obj 
)

Definition at line 3111 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::obj, and float128_ILLlpdata::structmap.

int float128_ILLlib_getrhs ( float128_lpinfo lp,
float128 *  rhs 
)

Definition at line 3216 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::nrows, float128_lpinfo::O, and float128_ILLlpdata::rhs.

int float128_ILLlib_getrownorms ( float128_lpinfo lp,
float128_price_info pinf,
float128 *  rownorms 
)

Definition at line 4057 of file float128_lib.c.

References float128_price_info::dsinfo, float128_check_pinf(), ILL_CLEANUP, float128_d_steep_info::norms, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, STAT_BASIC, float128_ILLlpdata::structmap, float128_lpinfo::vindex, and float128_lpinfo::vstat.

Here is the call graph for this function:

int float128_ILLlib_getrows ( float128_lpinfo lp,
int  num,
int *  rowlist,
int **  rowcnt,
int **  rowbeg,
int **  rowind,
float128 **  rowval,
float128 **  rhs,
char **  sense,
float128 **  range,
char ***  names 
)

Definition at line 2700 of file float128_lib.c.

References float128_ILLlp_rows_init(), ILL_CLEANUP, ILL_SAFE_MALLOC, float128_lpinfo::O, float128_ILLlpdata::rangeval, float128_ILLlpdata::rhs, float128_ILLlp_rows::rowbeg, float128_ILLlp_rows::rowcnt, float128_ILLlp_rows::rowind, and float128_ILLlp_rows::rowval.

Here is the call graph for this function:

int float128_ILLlib_getsenses ( float128_lpinfo lp,
char *  senses 
)

Definition at line 1975 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLlpdata::nrows, float128_lpinfo::O, and float128_ILLlpdata::sense.

int float128_ILLlib_iter ( float128_lpinfo lp  ) 

Definition at line 4138 of file float128_lib.c.

References float128_lpinfo::cnts, float128_count_struct::dI_iter, float128_count_struct::dII_iter, float128_count_struct::pI_iter, and float128_count_struct::pII_iter.

int float128_ILLlib_loadbasis ( float128_ILLlp_basis B,
int  nstruct,
int  nrows,
char *  cstat,
char *  rstat 
)

Definition at line 3679 of file float128_lib.c.

References float128_ILLlp_basis::cstat, float128_ILLlp_basis_alloc(), float128_ILLlp_basis_init(), and float128_ILLlp_basis::rstat.

Here is the call graph for this function:

int float128_ILLlib_loadrownorms ( float128_lpinfo lp,
float128_price_info pinf,
float128 *  rownorms 
)

Definition at line 4109 of file float128_lib.c.

References float128_ILLprice_load_rownorms().

Here is the call graph for this function:

int float128_ILLlib_newcol ( float128_lpinfo lp,
float128_ILLlp_basis B,
const float128  obj,
const float128  lower,
const float128  upper,
const char *  name,
int  factorok 
)

Definition at line 2002 of file float128_lib.c.

References float128_ILLlib_addcol().

Here is the call graph for this function:

int float128_ILLlib_newcols ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  num,
float128 *  obj,
float128 *  lower,
float128 *  upper,
const char **  names,
int  factorok 
)

Definition at line 2021 of file float128_lib.c.

References float128_ILLlib_addcols(), ILL_IFFREE, and ILL_SAFE_MALLOC.

Here is the call graph for this function:

int float128_ILLlib_newrow ( float128_lpinfo lp,
float128_ILLlp_basis B,
const float128  rhs,
int  sense,
const float128  range,
const char *  name 
)

Definition at line 884 of file float128_lib.c.

References float128_ILLlib_addrow().

Here is the call graph for this function:

int float128_ILLlib_newrows ( float128_lpinfo lp,
float128_ILLlp_basis B,
int  num,
const float128 *  rhs,
char *  sense,
const float128 *  range,
const char **  names 
)

Definition at line 902 of file float128_lib.c.

References float128_ILLlib_addrows(), ILL_CLEANUP, ILL_IFFREE, and ILL_SAFE_MALLOC.

Here is the call graph for this function:

int float128_ILLlib_objval ( float128_lpinfo lp,
float128_ILLlp_cache C,
float128 *  val 
)

Definition at line 419 of file float128_lib.c.

References float128_lpinfo::basisstat, float128_lpinfo::dobjval, float128_ILLlib_solution(), and float128_lp_status_info::optimal.

Here is the call graph for this function:

int float128_ILLlib_optimize ( float128_lpinfo lp,
float128_ILLlp_basis B,
float128_price_info pinf,
int  algo,
int *  status,
int  simplex_display,
itcnt_t itcnt 
)

Definition at line 170 of file float128_lib.c.

References __QS_SB_VERB, E_SIMPLEX_ERROR, float128_ILLlib_writebasis(), float128_ILLsimplex(), float128_ILLwrite_lp(), NULL, float128_lpinfo::O, QS_LP_CHANGE_PREC, and QS_LP_UNSOLVED.

Here is the call graph for this function:

int float128_ILLlib_print_x ( EGioFile_t *  fd,
float128_lpinfo lp,
float128_ILLlp_cache C,
float128 *  x,
int  nonZerosOnly 
)

Definition at line 4155 of file float128_lib.c.

References float128_ILLlpdata::colnames, float128_ILLlib_get_x(), float128_PRINT_TOL, ILL_FAILfalse, float128_lpinfo::ncols, float128_ILLlpdata::nstruct, NULL, float128_lpinfo::O, and strtmp.

Here is the call graph for this function:

int float128_ILLlib_readbasis ( float128_lpinfo lp,
float128_ILLlp_basis B,
const char *  float128_fname 
)

Definition at line 3719 of file float128_lib.c.

References float128_ILLlp_basis::cstat, float128_ILL_MAXDOUBLE, float128_ILL_MINDOUBLE, float128_ILLlib_colindex(), float128_ILLlib_rowindex(), float128_ILLline_reader_new(), float128_ILLlp_basis_init(), float128_ILLmps_empty_field(), float128_ILLmps_empty_key(), float128_ILLmps_error(), float128_ILLmps_next_field(), float128_ILLmps_next_line(), float128_ILLmps_section_name, float128_ILLmps_state_init(), float128_ILLmps_warn(), float128_ILLutil_index(), float128_READ_BASIS_LL, float128_READ_BASIS_UL, float128_READ_BASIS_XL, float128_READ_BASIS_XU, ILL_CLEANUP, ILL_MPS_ENDATA, ILL_MPS_NAME, ILL_SAFE_MALLOC, float128_ILLlpdata::lower, float128_ILLlp_basis::nrows, float128_ILLlpdata::nrows, float128_ILLlp_basis::nstruct, float128_ILLlpdata::nstruct, NULL, float128_lpinfo::O, float128_ILLlpdata::probname, QS_COL_BSTAT_BASIC, QS_COL_BSTAT_FREE, QS_COL_BSTAT_LOWER, QS_COL_BSTAT_UPPER, QS_ROW_BSTAT_BASIC, QS_ROW_BSTAT_LOWER, QS_ROW_BSTAT_UPPER, float128_ILLlp_basis::rstat, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

Here is the call graph for this function:

int float128_ILLlib_recompute_rownorms ( float128_lpinfo lp,
float128_price_info pinf 
)

Definition at line 4124 of file float128_lib.c.

References DUAL_PHASEII, and float128_ILLprice_build_pricing_info().

Here is the call graph for this function:

int float128_ILLlib_rowindex ( float128_lpinfo lp,
const char *  name,
int *  rowindex 
)

Definition at line 3552 of file float128_lib.c.

References float128_reset_rowindex(), ILL_CLEANUP, ILLsymboltab_getindex(), float128_lpinfo::O, and float128_ILLlpdata::rowtab.

Here is the call graph for this function:

int float128_ILLlib_rownames ( float128_lpinfo lp,
char **  rownames 
)

Definition at line 3332 of file float128_lib.c.

References ILL_CLEANUP, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLlpdata::nrows, float128_lpinfo::O, and float128_ILLlpdata::rownames.

int float128_ILLlib_solution ( float128_lpinfo lp,
float128_ILLlp_cache C,
float128 *  val,
float128 *  x,
float128 *  pi,
float128 *  slack,
float128 *  rc 
)

Definition at line 265 of file float128_lib.c.

References float128_ILL_MAX, float128_ILLsimplex_solution(), ILL_CLEANUP, float128_ILLlpdata::ncols, float128_ILLlp_cache::nrows, float128_ILLlpdata::nrows, float128_ILLlp_cache::nstruct, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::objsense, float128_ILLlp_cache::pi, float128_ILLlp_cache::rc, float128_ILLlpdata::rowmap, float128_ILLlp_cache::slack, float128_ILLlpdata::structmap, float128_ILLlp_cache::val, and float128_ILLlp_cache::x.

Here is the call graph for this function:

int float128_ILLlib_strongbranch ( float128_lpinfo lp,
float128_price_info pinf,
int *  candidatelist,
int  ncand,
float128 *  xlist,
float128 *  downpen,
float128 *  uppen,
int  iterations,
float128  objbound,
itcnt_t itcnt 
)

Definition at line 724 of file float128_lib.c.

References float128_lpinfo::basisid, float128_ILLlp_basis::cstat, float128_price_info::dI_price, float128_price_info::dII_price, float128_lpinfo::dobjval, DUAL_SIMPLEX, float128_check_pinf(), float128_ILL_MAX, float128_ILLlib_chgbnd(), float128_ILLlib_get_x(), float128_ILLlib_getbasis(), float128_ILLlib_getbnd(), float128_ILLlib_getrownorms(), float128_ILLlib_optimize(), float128_ILLlp_basis_alloc(), float128_ILLlp_basis_free(), float128_ILLlp_basis_init(), float128_ILLprice_free_pricing_info(), float128_ILLprice_init_pricing_info(), float128_price_info::htrigger, float128_lpinfo::maxiter, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::objsense, QS_PRICE_DSTEEP, float128_ILLlp_basis::rownorms, float128_ILLlp_basis::rstat, and t.

Here is the call graph for this function:

int float128_ILLlib_tableau ( float128_lpinfo lp,
int  row,
float128 *  binv,
float128 *  tabrow 
)

Definition at line 441 of file float128_lib.c.

References float128_ILLbasis_tableau_row(), ILL_CLEANUP, float128_ILLlpdata::ncols, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::rowmap, and float128_ILLlpdata::structmap.

Here is the call graph for this function:

int float128_ILLlib_writebasis ( float128_lpinfo lp,
float128_ILLlp_basis B,
const char *  float128_fname 
)

Definition at line 3941 of file float128_lib.c.

References float128_lpinfo::basisid, float128_ILLlpdata::colnames, float128_ILLlp_basis::cstat, float128_ILLlib_getbasis(), ILL_CLEANUP, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_lpinfo::O, float128_ILLlpdata::probname, QS_COL_BSTAT_BASIC, QS_COL_BSTAT_UPPER, QS_ROW_BSTAT_BASIC, QS_ROW_BSTAT_LOWER, float128_ILLlpdata::rownames, and float128_ILLlp_basis::rstat.

Here is the call graph for this function:

int float128_ILLwrite_lp_file ( float128_ILLlpdata lp,
EGioFile_t *  out,
float128_qserror_collector c 
)

Definition at line 4244 of file float128_lib.c.

References float128_ILLwrite_lp(), ILLstring_reporter_copy(), ILLstring_reporter_init(), and float128_ILLlpdata::reporter.

Referenced by float128_ILLbasis_get_cinitial(), float128_ILLbasis_get_initial(), and float128_ILLbasis_update().

Here is the call graph for this function:

static int float128_matrix_addcoef ( float128_lpinfo lp,
float128_ILLmatrix A,
int  row,
int  col,
float128  val 
)

Definition at line 2521 of file float128_lib.c.

References float128_matrix_addrow_end(), ILL_CLEANUP, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matcols, float128_ILLmatrix::matfree, float128_ILLmatrix::matind, float128_ILLmatrix::matrows, float128_ILLmatrix::matsize, float128_ILLmatrix::matval, float128_ILLlpdata::nzcount, and float128_lpinfo::O.

Referenced by float128_ILLlib_chgcoef().

Here is the call graph for this function:

static int float128_matrix_addcol ( float128_ILLmatrix A,
int  colcnt,
int *  colind,
float128 *  colval 
)

Definition at line 2619 of file float128_lib.c.

References ILL_CLEANUP, and float128_ILLmatrix::matrows.

Referenced by float128_ILLlib_addcol().

static int float128_matrix_addrow ( float128_ILLmatrix A,
int  rowcnt,
int *  rowind,
const float128 *  rowval 
) [static]

Definition at line 2332 of file float128_lib.c.

References ILL_CLEANUP, and float128_ILLmatrix::matcols.

static int float128_matrix_addrow_end ( float128_ILLmatrix A,
int  row,
int  rowcnt,
int *  rowind,
const float128 *  rowval 
)

Definition at line 2427 of file float128_lib.c.

References float128_EXTRA_MAT, ILL_SAFE_MALLOC, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matcols, float128_ILLmatrix::matcolsize, float128_ILLmatrix::matfree, float128_ILLmatrix::matind, float128_ILLmatrix::matsize, and float128_ILLmatrix::matval.

Referenced by float128_matrix_addcoef().

static int float128_matrix_getcoef ( float128_ILLmatrix A,
int  row,
int  col,
float128 *  val 
) [static]

Definition at line 1700 of file float128_lib.c.

References ILL_CLEANUP, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matcols, float128_ILLmatrix::matind, float128_ILLmatrix::matrows, and float128_ILLmatrix::matval.

Referenced by float128_ILLlib_getcoef().

static int float128_reset_colindex ( float128_lpinfo lp  ) 

Definition at line 3482 of file float128_lib.c.

References float128_ILLlpdata::colnames, float128_ILLlpdata::coltab, ILLsymboltab_index_ok(), ILLsymboltab_index_reset(), float128_ILLlpdata::nstruct, and float128_lpinfo::O.

Referenced by float128_ILLlib_colindex().

Here is the call graph for this function:

static int float128_reset_rowindex ( float128_lpinfo lp  ) 

Definition at line 3502 of file float128_lib.c.

References ILLsymboltab_index_ok(), ILLsymboltab_index_reset(), float128_ILLlpdata::nrows, float128_lpinfo::O, float128_ILLlpdata::rownames, and float128_ILLlpdata::rowtab.

Referenced by float128_ILLlib_rowindex().

Here is the call graph for this function:


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