float128_lpdata.c File Reference

#include "qs_config.h"
#include "float128_iqsutil.h"
#include "float128_lpdata.h"
#include "float128_qstruct.h"
#include "float128_qsopt.h"
#include "float128_lp.h"
#include "float128_mps.h"
#include "float128_rawlp.h"

Include dependency graph for float128_lpdata.c:

Go to the source code of this file.

Functions

void float128_ILLchange_precision (void)
void float128_ILLend (void)
int float128_ILLlp_basis_alloc (float128_ILLlp_basis *B, int nstruct, int nrows)
void float128_ILLlp_basis_free (float128_ILLlp_basis *B)
void float128_ILLlp_basis_init (float128_ILLlp_basis *B)
int float128_ILLlp_cache_alloc (float128_ILLlp_cache *C, int nstruct, int nrows)
void float128_ILLlp_cache_free (float128_ILLlp_cache *C)
void float128_ILLlp_cache_init (float128_ILLlp_cache *C)
void float128_ILLlp_rows_clear (float128_ILLlp_rows *lprows)
int float128_ILLlp_rows_init (float128_ILLlp_rows *lprows, float128_ILLlpdata *lp, int include_logicals)
void float128_ILLlpdata_free (float128_ILLlpdata *lp)
void float128_ILLlpdata_init (float128_ILLlpdata *lp)
int float128_ILLprint_report (float128_ILLlpdata *lp, const char *format,...)
float128_QSdatafloat128_ILLread (float128_qsline_reader *file, const char *float128_fname, int isMps)
void float128_ILLstart (void)
static int float128_wr_line (float128_ILLlpdata *lp, const char *format, va_list argptr)

Variables

int float128___QSEX_SETUP = 0
float128 float128_ALTPIV_TOLER
float128 float128_BD_TOLER
float128 float128_CB_EPS
float128 float128_CB_INF_RATIO
float128 float128_CB_PRI_RLIMIT
float128 float128_DBNDPIV_RATIO
float128 float128_DBNDPIV_TOLER
float128 float128_DFEAS_TOLER
float128 float128_ILL_MAXDOUBLE
float128 float128_ILL_MINDOUBLE
float128 float128_OBJBND_TOLER
float128 float128_PARAM_IBASIS_RPIVOT
float128 float128_PARAM_IBASIS_RTRIANG
float128 float128_PARAM_MIN_DNORM
float128 float128_PFEAS_TOLER
float128 float128_PIVOT_TOLER
float128 float128_PIVZ_TOLER
float128 float128_PROGRESS_THRESH
float128 float128_PROGRESS_ZERO
float128 float128_SZERO_TOLER


Function Documentation

void float128_ILLchange_precision ( void   ) 

This function re-compute the internal

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

Definition at line 178 of file float128_lpdata.c.

References float128_ALTPIV_TOLER, float128_BD_TOLER, float128_DFEAS_TOLER, float128_OBJBND_TOLER, float128_PARAM_MIN_DNORM, float128_PFEAS_TOLER, float128_PIVOT_TOLER, float128_PIVZ_TOLER, float128_PROGRESS_THRESH, float128_PROGRESS_ZERO, and float128_SZERO_TOLER.

Referenced by float128_QSset_precision().

void float128_ILLend ( void   ) 

free any internal data asociated with variable

float128_precision numbers

Definition at line 229 of file float128_lpdata.c.

References float128___QSEX_SETUP, float128_ALTPIV_TOLER, float128_BD_TOLER, float128_CB_EPS, float128_CB_INF_RATIO, float128_CB_PRI_RLIMIT, float128_DBNDPIV_RATIO, float128_DBNDPIV_TOLER, float128_DFEAS_TOLER, float128_ILL_MAXDOUBLE, float128_ILL_MINDOUBLE, float128_OBJBND_TOLER, float128_PARAM_IBASIS_RPIVOT, float128_PARAM_IBASIS_RTRIANG, float128_PARAM_MIN_DNORM, float128_PFEAS_TOLER, float128_PIVOT_TOLER, float128_PIVZ_TOLER, float128_PROGRESS_THRESH, float128_PROGRESS_ZERO, and float128_SZERO_TOLER.

Referenced by QSexactClear().

int float128_ILLlp_basis_alloc ( float128_ILLlp_basis B,
int  nstruct,
int  nrows 
)

Definition at line 433 of file float128_lpdata.c.

References float128_ILLlp_basis::cstat, float128_ILLlp_basis_free(), ILL_FAILtrue, ILL_SAFE_MALLOC, float128_ILLlp_basis::nrows, float128_ILLlp_basis::nstruct, NULL, and float128_ILLlp_basis::rstat.

Referenced by float128_ILLlib_loadbasis(), and float128_ILLlib_strongbranch().

Here is the call graph for this function:

void float128_ILLlp_basis_free ( float128_ILLlp_basis B  ) 

Definition at line 418 of file float128_lpdata.c.

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

Referenced by float128_grab_basis(), float128_ILLlib_strongbranch(), float128_ILLlp_basis_alloc(), float128_opt_work(), float128_QSdelete_cols(), float128_QSdelete_rows(), float128_QSfree_prob(), float128_QSload_basis(), float128_QSload_basis_array(), float128_QSread_and_load_basis(), float128_QSread_basis(), and float128_QSwrite_basis().

void float128_ILLlp_basis_init ( float128_ILLlp_basis B  ) 

Definition at line 404 of file float128_lpdata.c.

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

Referenced by float128_grab_basis(), float128_ILLlib_loadbasis(), float128_ILLlib_readbasis(), float128_ILLlib_strongbranch(), float128_process_bfs_bbnode(), float128_QSload_basis(), float128_QSload_basis_array(), float128_QSread_and_load_basis(), float128_QSread_basis(), and float128_QSwrite_basis().

int float128_ILLlp_cache_alloc ( float128_ILLlp_cache C,
int  nstruct,
int  nrows 
)

Definition at line 496 of file float128_lpdata.c.

References float128_ILLlp_cache_free(), ILL_FAILtrue, float128_ILLlp_cache::nrows, float128_ILLlp_cache::nstruct, NULL, float128_ILLlp_cache::pi, float128_ILLlp_cache::rc, float128_ILLlp_cache::slack, and float128_ILLlp_cache::x.

Referenced by float128_grab_cache().

Here is the call graph for this function:

void float128_ILLlp_cache_free ( float128_ILLlp_cache C  ) 

Definition at line 481 of file float128_lpdata.c.

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

Referenced by float128_free_cache(), float128_grab_cache(), float128_ILLlp_cache_alloc(), and float128_QSfree_prob().

void float128_ILLlp_cache_init ( float128_ILLlp_cache C  ) 

Definition at line 465 of file float128_lpdata.c.

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

Referenced by float128_grab_cache().

void float128_ILLlp_rows_clear ( float128_ILLlp_rows lprows  ) 

Definition at line 674 of file float128_lpdata.c.

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

Referenced by float128_ILLlib_addcol(), float128_ILLlib_addrow(), float128_ILLlib_chgcoef(), float128_ILLlib_delcols(), float128_ILLlib_delrows(), float128_ILLlp_rows_init(), float128_ILLlpdata_free(), and ILL_PTRWORLD_ROUTINES().

int float128_ILLlp_rows_init ( float128_ILLlp_rows lprows,
float128_ILLlpdata lp,
int  include_logicals 
)

Definition at line 531 of file float128_lpdata.c.

References float128_ILLlpdata::A, float128_ILLlp_rows_clear(), ILL_FAILfalse, ILL_FAILtrue, ILL_IFFREE, ILL_SAFE_MALLOC, float128_ILLmatrix::matbeg, float128_ILLmatrix::matcnt, float128_ILLmatrix::matind, float128_ILLmatrix::matval, float128_ILLlpdata::ncols, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, NULL, float128_ILLlpdata::nzcount, float128_ILLlp_rows::rowbeg, float128_ILLlp_rows::rowcnt, float128_ILLlp_rows::rowind, float128_ILLlpdata::rowmap, float128_ILLlp_rows::rowval, and float128_ILLlpdata::structmap.

Referenced by float128_ILLlib_getrows(), float128_ILLwrite_lp(), and float128_ILLwrite_mps().

Here is the call graph for this function:

void float128_ILLlpdata_free ( float128_ILLlpdata lp  ) 

Definition at line 347 of file float128_lpdata.c.

References float128_ILLlpdata::A, float128_ILLlpdata::colnames, float128_ILLlpdata::coltab, float128_ILLlp_rows_clear(), float128_ILLlp_sinfo_free(), float128_ILLlpdata_init(), float128_ILLmatrix_free(), ILL_IFFREE, ILLsymboltab_free(), float128_ILLlpdata::intmarker, float128_ILLlpdata::is_sos_mem, float128_ILLlpdata::lower, float128_ILLlpdata::nrows, float128_ILLlpdata::nstruct, float128_ILLlpdata::obj, float128_ILLlpdata::objname, float128_ILLlpdata::probname, float128_ILLlpdata::rA, float128_ILLlpdata::rangeval, float128_ILLlpdata::refrowname, float128_ILLlpdata::rhs, float128_ILLlpdata::rowmap, float128_ILLlpdata::rownames, float128_ILLlpdata::rowtab, float128_ILLlpdata::sense, float128_ILLlpdata::sinfo, float128_ILLlpdata::sos, float128_ILLlpdata::structmap, and float128_ILLlpdata::upper.

Referenced by float128_QSfree_prob().

Here is the call graph for this function:

void float128_ILLlpdata_init ( float128_ILLlpdata lp  ) 

Definition at line 302 of file float128_lpdata.c.

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

Referenced by float128_convert_rawlpdata_to_lpdata(), float128_ILLlp_sinfo_print(), float128_ILLlpdata_free(), float128_ILLread(), and float128_QScreate_prob().

Here is the call graph for this function:

int float128_ILLprint_report ( float128_ILLlpdata lp,
const char *  format,
  ... 
)

Definition at line 712 of file float128_lpdata.c.

References float128_wr_line().

Referenced by float128_ILLwrite_lp(), float128_ILLwrite_mps(), float128_mps_write_col(), float128_write_bounds(), float128_write_intvars(), float128_write_objective(), float128_write_row(), and float128_write_the_expr().

Here is the call graph for this function:

float128_QSdata* float128_ILLread ( float128_qsline_reader file,
const char *  float128_fname,
int  isMps 
)

Definition at line 257 of file float128_lpdata.c.

References float128_qsline_reader::error_collector, float128_ILLfree_rawlpdata(), float128_ILLinit_rawlpdata(), float128_ILLlpdata_init(), float128_ILLrawlpdata_to_lpdata(), float128_ILLread_lp(), float128_ILLread_mps(), float128_QScreate_prob(), float128_QSfree_prob(), ILL_CHECKnull, ILL_FAILfalse, ILL_IFFREE, NULL, float128_ILLlpdata::probname, QS_MIN, and float128_qsdata::qslp.

Referenced by float128_QSget_prob().

Here is the call graph for this function:

void float128_ILLstart ( void   ) 

initialize float128_ILL_MAXDOUBLE and other

constants, this funtion should be callef AFTER EGlpNumStart()

Definition at line 102 of file float128_lpdata.c.

References float128___QSEX_SETUP, float128_ALTPIV_TOLER, float128_BD_TOLER, float128_CB_EPS, float128_CB_INF_RATIO, float128_CB_PRI_RLIMIT, float128_DBNDPIV_RATIO, float128_DBNDPIV_TOLER, float128_DFEAS_TOLER, float128_ILL_MAXDOUBLE, float128_ILL_MINDOUBLE, float128_OBJBND_TOLER, float128_PARAM_IBASIS_RPIVOT, float128_PARAM_IBASIS_RTRIANG, float128_PARAM_MIN_DNORM, float128_PFEAS_TOLER, float128_PIVOT_TOLER, float128_PIVZ_TOLER, float128_PROGRESS_THRESH, float128_PROGRESS_ZERO, float128_SZERO_TOLER, and VERBOSE_LEVEL.

Referenced by QSexactStart().

static int float128_wr_line ( float128_ILLlpdata lp,
const char *  format,
va_list  argptr 
) [static]

Definition at line 687 of file float128_lpdata.c.

References ILL_namebufsize, ILLstring_report, and float128_ILLlpdata::reporter.

Referenced by float128_ILLprint_report().


Variable Documentation

int float128___QSEX_SETUP = 0

Definition at line 100 of file float128_lpdata.c.

Referenced by float128_ILLend(), and float128_ILLstart().

float128 float128_ALTPIV_TOLER

Definition at line 89 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), and float128_ILLstart().

float128 float128_BD_TOLER

Definition at line 81 of file float128_lpdata.c.

Referenced by float128_get_initial_basis2(), float128_ILLchange_precision(), float128_ILLend(), and float128_ILLstart().

float128 float128_CB_EPS

Definition at line 93 of file float128_lpdata.c.

Referenced by float128_choose_basis(), float128_ILLend(), and float128_ILLstart().

float128 float128_CB_INF_RATIO

Definition at line 94 of file float128_lpdata.c.

Referenced by float128_choose_basis(), float128_ILLend(), and float128_ILLstart().

float128 float128_CB_PRI_RLIMIT

Definition at line 95 of file float128_lpdata.c.

Referenced by float128_choose_basis(), float128_ILLend(), and float128_ILLstart().

float128 float128_DBNDPIV_RATIO

Definition at line 88 of file float128_lpdata.c.

Referenced by float128_ILLend(), and float128_ILLstart().

float128 float128_DBNDPIV_TOLER

Definition at line 87 of file float128_lpdata.c.

Referenced by float128_ILLend(), and float128_ILLstart().

float128 float128_DFEAS_TOLER

Definition at line 82 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLlib_delrows(), float128_ILLstart(), and float128_init_simplex_tols().

float128 float128_ILL_MAXDOUBLE

Definition at line 96 of file float128_lpdata.c.

Referenced by float128_best_bbnode(), float128_child_work(), float128_empty_columns(), float128_fix_variables(), float128_get_implied_rhs_bounds(), float128_get_implied_variable_bounds(), float128_ILLend(), float128_ILLlib_addcol(), float128_ILLlib_chgsense(), float128_ILLlib_readbasis(), float128_ILLlp_scale(), float128_ILLmip_bfs(), float128_ILLmps_next_bound(), float128_ILLraw_default_upper(), float128_ILLraw_set_unbound(), float128_ILLread_lp_state_possible_bound_value(), float128_ILLstart(), float128_ILLwrite_lp_state_append_number(), float128_init_mipinfo(), float128_mps_set_bound(), float128_plunge_work(), float128_process_bfs_bbnode(), float128_QScreate_prob(), float128_QSset_param_EGlpNum(), float128_singleton_columns(), float128_solver_main(), float128_startup_mip(), float128_write_bounds(), and ILL_PTRWORLD_ROUTINES().

float128 float128_ILL_MINDOUBLE

Definition at line 97 of file float128_lpdata.c.

Referenced by float128_empty_columns(), float128_find_penalty_branch(), float128_find_strong_branch(), float128_get_implied_rhs_bounds(), float128_get_implied_variable_bounds(), float128_ILLend(), float128_ILLlib_addcol(), float128_ILLlib_readbasis(), float128_ILLlp_scale(), float128_ILLmps_next_bound(), float128_ILLraw_default_lower(), float128_ILLraw_fill_in_bounds(), float128_ILLraw_set_unbound(), float128_ILLread_lp_state_possible_bound_value(), float128_ILLstart(), float128_ILLwrite_lp_state_append_number(), float128_init_bbnode(), float128_maxchild(), float128_mps_set_bound(), float128_QScreate_prob(), float128_QSset_param_EGlpNum(), float128_singleton_columns(), float128_solver_main(), float128_startup_mip(), float128_write_bounds(), and ILL_PTRWORLD_ROUTINES().

float128 float128_OBJBND_TOLER

Definition at line 86 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLfactor_init_factor_work(), float128_ILLsimplex(), and float128_ILLstart().

float128 float128_PARAM_IBASIS_RPIVOT

Definition at line 77 of file float128_lpdata.c.

Referenced by float128_ILLend(), float128_ILLstart(), and float128_primal_col_select().

float128 float128_PARAM_IBASIS_RTRIANG

Definition at line 78 of file float128_lpdata.c.

Referenced by float128_ILLend(), float128_ILLstart(), and float128_primal_col_select().

float128 float128_PARAM_MIN_DNORM

Definition at line 79 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLprice_build_dsteep_norms(), float128_ILLprice_load_rownorms(), float128_ILLprice_update_dsteep_norms(), and float128_ILLstart().

float128 float128_PFEAS_TOLER

Definition at line 80 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLstart(), and float128_init_simplex_tols().

float128 float128_PIVOT_TOLER

Definition at line 83 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLstart(), and float128_init_simplex_tols().

float128 float128_PIVZ_TOLER

Definition at line 85 of file float128_lpdata.c.

Referenced by float128_ILLbasis_tableau_row(), float128_ILLchange_precision(), float128_ILLend(), float128_ILLfct_compute_yz(), float128_ILLfct_compute_zA(), float128_ILLfct_compute_zz(), and float128_ILLstart().

float128 float128_PROGRESS_THRESH

Definition at line 92 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLstart(), and float128_test_progress().

float128 float128_PROGRESS_ZERO

Definition at line 91 of file float128_lpdata.c.

Referenced by float128_ILLchange_precision(), float128_ILLend(), float128_ILLstart(), and float128_test_progress().

float128 float128_SZERO_TOLER

Definition at line 84 of file float128_lpdata.c.

Referenced by float128_grab_cache(), float128_ILLchange_precision(), float128_ILLend(), float128_ILLfactor_init_factor_work(), float128_ILLfct_compute_binvrow(), float128_ILLfct_compute_vA(), float128_ILLfct_compute_yz(), float128_ILLstart(), and float128_init_simplex_tols().


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