ldbl_fct.c File Reference

#include "qs_config.h"
#include "ldbl_iqsutil.h"
#include "ldbl_lpdefs.h"
#include "stddefs.h"
#include "ldbl_basis.h"
#include "ldbl_fct.h"
#include "ldbl_price.h"
#include "ldbl_ratio.h"
#include "ldbl_dstruct.h"

Include dependency graph for ldbl_fct.c:

Go to the source code of this file.

Defines

#define ldbl_C_VALUE(a)   (1.0+(double)(a)/(PARAM_HEAP_RATIO*ldbl_ILLutil_our_log2(a)))
#define ldbl_FCT_DEBUG   0

Functions

static void ldbl_add_vectors (ldbl_lpinfo *lp, ldbl_svector *a, ldbl_svector *b, ldbl_svector *c, const long double t)
static int ldbl_compute_zA1 (ldbl_lpinfo *lp, ldbl_svector *z, ldbl_svector *zA, long double ztoler)
static int ldbl_compute_zA3 (ldbl_lpinfo *lp, ldbl_svector *z, ldbl_svector *zA, long double ztoler)
static int ldbl_expand_phaseI_bounds (ldbl_lpinfo *lp, int *chgb)
static int ldbl_expand_var_bounds (ldbl_lpinfo *lp, long double ftol, int *chgb)
static int ldbl_expand_var_coefs (ldbl_lpinfo *lp, long double ftol, int *chgc)
int ldbl_ILLfct_adjust_viol_bounds (ldbl_lpinfo *lp)
int ldbl_ILLfct_adjust_viol_coefs (ldbl_lpinfo *lp)
int ldbl_ILLfct_bound_shift (ldbl_lpinfo *lp, int col, int bndtype, long double newbnd)
void ldbl_ILLfct_check_dfeasible (ldbl_lpinfo *lp, ldbl_feas_info *fs, const long double ftol)
void ldbl_ILLfct_check_pfeasible (ldbl_lpinfo *lp, ldbl_feas_info *fs, const long double ftol)
void ldbl_ILLfct_check_pIdfeasible (ldbl_lpinfo *lp, ldbl_feas_info *fs, long double ftol)
void ldbl_ILLfct_check_pIpfeasible (ldbl_lpinfo *lp, ldbl_feas_info *fs, long double ftol)
int ldbl_ILLfct_coef_shift (ldbl_lpinfo *lp, int col, long double newcoef)
void ldbl_ILLfct_compute_binvrow (ldbl_lpinfo *lp, ldbl_svector *zz, int row, long double ztoler)
void ldbl_ILLfct_compute_dobj (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_dpIIy (ldbl_lpinfo *lp, ldbl_svector *srhs, ldbl_svector *ssoln)
void ldbl_ILLfct_compute_dpIy (ldbl_lpinfo *lp, ldbl_svector *srhs, ldbl_svector *ssoln)
void ldbl_ILLfct_compute_dsteep_upv (ldbl_lpinfo *lp, ldbl_svector *swz)
void ldbl_ILLfct_compute_dz (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_phaseI_dz (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_phaseI_piz (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_phaseI_xbz (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_piz (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_pobj (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_ppIzz (ldbl_lpinfo *lp, ldbl_svector *srhs, ldbl_svector *ssoln)
void ldbl_ILLfct_compute_psteep_upv (ldbl_lpinfo *lp, ldbl_svector *swz)
void ldbl_ILLfct_compute_vA (ldbl_lpinfo *lp, ldbl_svector *v, long double *vA)
void ldbl_ILLfct_compute_xbz (ldbl_lpinfo *lp)
void ldbl_ILLfct_compute_yz (ldbl_lpinfo *lp, ldbl_svector *yz, ldbl_svector *updz, int col)
int ldbl_ILLfct_compute_zA (ldbl_lpinfo *lp, ldbl_svector *z, ldbl_svector *zA)
void ldbl_ILLfct_compute_zz (ldbl_lpinfo *lp, ldbl_svector *zz, int row)
void ldbl_ILLfct_dphaseI_simple_update (ldbl_lpinfo *lp, long double ftol)
void ldbl_ILLfct_dual_adjust (ldbl_lpinfo *lp, const long double ftol)
void ldbl_ILLfct_free_bndinfo (ldbl_bndinfo *binfo)
void ldbl_ILLfct_init_counts (ldbl_lpinfo *lp)
void ldbl_ILLfct_load_workvector (ldbl_lpinfo *lp, ldbl_svector *s)
ldbl_bndinfoldbl_ILLfct_new_bndinfo (void)
int ldbl_ILLfct_perturb_bounds (ldbl_lpinfo *lp)
int ldbl_ILLfct_perturb_coefs (ldbl_lpinfo *lp)
int ldbl_ILLfct_perturb_phaseI_bounds (ldbl_lpinfo *lp)
void ldbl_ILLfct_print_counts (ldbl_lpinfo *lp)
void ldbl_ILLfct_set_status_values (ldbl_lpinfo *lp, int pstatus, int dstatus, int ptype, int dtype)
void ldbl_ILLfct_set_variable_type (ldbl_lpinfo *lp)
int ldbl_ILLfct_test_pivot (ldbl_lpinfo *lp, int indx, int indxtype, long double piv_val)
void ldbl_ILLfct_unroll_bound_change (ldbl_lpinfo *lp)
void ldbl_ILLfct_unroll_coef_change (ldbl_lpinfo *lp)
void ldbl_ILLfct_update_basis_info (ldbl_lpinfo *lp, int eindex, int lindex, int lvstat)
void ldbl_ILLfct_update_counts (ldbl_lpinfo *lp, int f, int upi, const long double upd)
void ldbl_ILLfct_update_dfeas (ldbl_lpinfo *lp, int eindex, ldbl_svector *srhs)
void ldbl_ILLfct_update_dIIfeas (ldbl_lpinfo *lp, int eindex, ldbl_svector *srhs)
void ldbl_ILLfct_update_dpI_prices (ldbl_lpinfo *lp, ldbl_price_info *pinf, ldbl_svector *srhs, ldbl_svector *ssoln, int lindex, long double alpha)
void ldbl_ILLfct_update_dpII_prices (ldbl_lpinfo *lp, ldbl_price_info *pinf, ldbl_svector *srhs, ldbl_svector *ssoln, int lindex, long double eval, long double alpha)
void ldbl_ILLfct_update_dz (ldbl_lpinfo *lp, int eindex, long double alpha)
void ldbl_ILLfct_update_pfeas (ldbl_lpinfo *lp, int lindex, ldbl_svector *srhs)
void ldbl_ILLfct_update_pIdz (ldbl_lpinfo *lp, ldbl_svector *zA, int eindex, const long double alpha)
void ldbl_ILLfct_update_pIpiz (ldbl_lpinfo *lp, ldbl_svector *z, const long double alpha)
void ldbl_ILLfct_update_piz (ldbl_lpinfo *lp, long double alpha)
void ldbl_ILLfct_update_ppI_prices (ldbl_lpinfo *lp, ldbl_price_info *pinf, ldbl_svector *srhs, ldbl_svector *ssoln, int eindex, int lindex, const long double alpha)
void ldbl_ILLfct_update_xz (ldbl_lpinfo *lp, long double tz, int eindex, int lindex)
void ldbl_ILLfct_zero_workvector (ldbl_lpinfo *lp)
static double ldbl_my_rand (int bound, ILLrandstate *r)
static void ldbl_update_piv_values (ldbl_count_struct *c, int phase, const long double piv)

Variables

static int TRACE = 0


Define Documentation

#define ldbl_C_VALUE (  )     (1.0+(double)(a)/(PARAM_HEAP_RATIO*ldbl_ILLutil_our_log2(a)))

Referenced by ldbl_ILLfct_init_counts().

#define ldbl_FCT_DEBUG   0

Definition at line 27 of file ldbl_fct.c.


Function Documentation

static void ldbl_add_vectors ( ldbl_lpinfo lp,
ldbl_svector a,
ldbl_svector b,
ldbl_svector c,
const long double  t 
)

Definition at line 1677 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_lpinfo::iwork, ldbl_svector::nzcnt, and ldbl_lpinfo::work.

Referenced by ldbl_ILLfct_update_dIIfeas(), ldbl_ILLfct_update_dpI_prices(), ldbl_ILLfct_update_dpII_prices(), and ldbl_ILLfct_update_ppI_prices().

static int ldbl_compute_zA1 ( ldbl_lpinfo lp,
ldbl_svector z,
ldbl_svector zA,
long double  ztoler 
) [static]

Definition at line 478 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, and ldbl_svector::nzcnt.

Referenced by ldbl_ILLfct_compute_zA().

static int ldbl_compute_zA3 ( ldbl_lpinfo lp,
ldbl_svector z,
ldbl_svector zA,
long double  ztoler 
)

Definition at line 522 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_lpinfo::iwork, ldbl_svector::nzcnt, ldbl_lpinfo::rowbeg, ldbl_lpinfo::rowcnt, ldbl_lpinfo::rowind, ldbl_lpinfo::rowval, STAT_BASIC, ldbl_lpinfo::vindex, ldbl_lpinfo::vstat, and ldbl_lpinfo::work.

Referenced by ldbl_ILLfct_compute_zA().

static int ldbl_expand_phaseI_bounds ( ldbl_lpinfo lp,
int *  chgb 
) [static]

Definition at line 834 of file ldbl_fct.c.

References ldbl_lpinfo::baz, BOUND_LOWER, BOUND_UPPER, ILLutil_sprand(), ldbl_tol_struct::ip_tol, ldbl_ILLfct_bound_shift(), ldbl_INFTY, ldbl_my_rand(), ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::nrows, ldbl_lpinfo::rstate, ldbl_lpinfo::tol, ldbl_lpinfo::uz, VARTIFICIAL, VFREE, ldbl_lpinfo::vtype, and ldbl_lpinfo::xbz.

Referenced by ldbl_ILLfct_perturb_phaseI_bounds().

Here is the call graph for this function:

static int ldbl_expand_var_bounds ( ldbl_lpinfo lp,
long double  ftol,
int *  chgb 
)

Definition at line 772 of file ldbl_fct.c.

References ldbl_lpinfo::baz, BOUND_LOWER, BOUND_UPPER, ILLutil_sprand(), ldbl_ILLfct_bound_shift(), ldbl_INFTY, ldbl_my_rand(), ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::nrows, ldbl_lpinfo::rstate, ldbl_lpinfo::uz, VARTIFICIAL, VFREE, ldbl_lpinfo::vtype, and ldbl_lpinfo::xbz.

Referenced by ldbl_ILLfct_adjust_viol_bounds(), and ldbl_ILLfct_perturb_bounds().

Here is the call graph for this function:

static int ldbl_expand_var_coefs ( ldbl_lpinfo lp,
long double  ftol,
int *  chgc 
)

Definition at line 1024 of file ldbl_fct.c.

References ldbl_lpinfo::cz, ldbl_lpinfo::dz, ILLutil_sprand(), ldbl_ILLfct_coef_shift(), ldbl_my_rand(), ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::rstate, STAT_LOWER, STAT_UPPER, STAT_ZERO, VARTIFICIAL, VFIXED, ldbl_lpinfo::vstat, and ldbl_lpinfo::vtype.

Referenced by ldbl_ILLfct_adjust_viol_coefs(), and ldbl_ILLfct_perturb_coefs().

Here is the call graph for this function:

int ldbl_ILLfct_adjust_viol_bounds ( ldbl_lpinfo lp  ) 

Definition at line 887 of file ldbl_fct.c.

References ldbl_expand_var_bounds(), ldbl_tol_struct::pfeas_tol, and ldbl_lpinfo::tol.

Here is the call graph for this function:

int ldbl_ILLfct_adjust_viol_coefs ( ldbl_lpinfo lp  ) 

Definition at line 1102 of file ldbl_fct.c.

References ldbl_tol_struct::dfeas_tol, ldbl_expand_var_coefs(), and ldbl_lpinfo::tol.

Referenced by ldbl_dual_phaseII_step().

Here is the call graph for this function:

int ldbl_ILLfct_bound_shift ( ldbl_lpinfo lp,
int  col,
int  bndtype,
long double  newbnd 
)

Definition at line 933 of file ldbl_fct.c.

References ldbl_lpinfo::bchanges, BOUND_LOWER, ldbl_bndinfo::btype, ldbl_bndinfo::cbound, ILL_IFTRACE, ldbl_ILLfct_free_bndinfo(), ldbl_ILLfct_new_bndinfo(), ldbl_lpinfo::lz, ldbl_lpinfo::nbchange, ldbl_bndinfo::next, ldbl_bndinfo::pbound, ldbl_lpinfo::uz, ldbl_bndinfo::varnum, VARTIFICIAL, VBOUNDED, VFIXED, and ldbl_lpinfo::vtype.

Referenced by ldbl_expand_phaseI_bounds(), ldbl_expand_var_bounds(), and ldbl_primal_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_check_dfeasible ( ldbl_lpinfo lp,
ldbl_feas_info fs,
const long double  ftol 
)

Definition at line 1294 of file ldbl_fct.c.

References ldbl_lpinfo::dfeas, ldbl_feas_info::dstatus, DUAL_FEASIBLE, ldbl_lpinfo::dz, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, STAT_LOWER, STAT_UPPER, STAT_ZERO, ldbl_feas_info::totinfeas, VARTIFICIAL, VFIXED, ldbl_lpinfo::vstat, and ldbl_lpinfo::vtype.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_get_cinitial(), ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_dsolution(), ldbl_ILLsimplex_retest_psolution(), ldbl_monitor_iter(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_check_pfeasible ( ldbl_lpinfo lp,
ldbl_feas_info fs,
const long double  ftol 
)

Definition at line 1201 of file ldbl_fct.c.

References ldbl_lpinfo::baz, ldbl_lpinfo::bfeas, ILL_IFTRACE, ldbl_INFTY, ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::nrows, PRIMAL_FEASIBLE, ldbl_feas_info::pstatus, QSE_WLVL, ldbl_feas_info::totinfeas, ldbl_lpinfo::uz, and ldbl_lpinfo::xbz.

Referenced by ldbl_dual_phaseII_step(), ldbl_ILLbasis_get_cinitial(), ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_dsolution(), ldbl_ILLsimplex_retest_psolution(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_check_pIdfeasible ( ldbl_lpinfo lp,
ldbl_feas_info fs,
long double  ftol 
)

Definition at line 1346 of file ldbl_fct.c.

References ldbl_feas_info::dstatus, DUAL_FEASIBLE, DUAL_INFEASIBLE, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::pIdz, STAT_LOWER, STAT_UPPER, STAT_ZERO, VARTIFICIAL, VFIXED, ldbl_lpinfo::vstat, and ldbl_lpinfo::vtype.

Referenced by ldbl_ILLsimplex_retest_psolution().

void ldbl_ILLfct_check_pIpfeasible ( ldbl_lpinfo lp,
ldbl_feas_info fs,
long double  ftol 
)

Definition at line 1263 of file ldbl_fct.c.

References ldbl_lpinfo::baz, ldbl_INFTY, ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::nrows, PRIMAL_FEASIBLE, ldbl_feas_info::pstatus, ldbl_feas_info::totinfeas, ldbl_lpinfo::uz, and ldbl_lpinfo::xbz.

Referenced by ldbl_ILLsimplex_retest_dsolution().

int ldbl_ILLfct_coef_shift ( ldbl_lpinfo lp,
int  col,
long double  newcoef 
)

Definition at line 1135 of file ldbl_fct.c.

References ldbl_lpinfo::cchanges, ldbl_coefinfo::ccoef, ldbl_lpinfo::cz, ldbl_lpinfo::dz, ILL_IFFREE, ILL_SAFE_MALLOC, ldbl_lpinfo::ncchange, ldbl_coefinfo::next, ldbl_coefinfo::pcoef, ldbl_coefinfo::varnum, and ldbl_lpinfo::vindex.

Referenced by ldbl_dual_phaseII_step(), and ldbl_expand_var_coefs().

void ldbl_ILLfct_compute_binvrow ( ldbl_lpinfo lp,
ldbl_svector zz,
int  row,
long double  ztoler 
)

Definition at line 440 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_lpinfo::f, ldbl_svector::indx, ldbl_ILLbasis_row_solve(), ldbl_ILLfactor_set_factor_dparam(), ldbl_SZERO_TOLER, ldbl_svector::nzcnt, and QS_FACTOR_SZERO_TOL.

Referenced by ldbl_ILLfct_compute_zz().

Here is the call graph for this function:

void ldbl_ILLfct_compute_dobj ( ldbl_lpinfo lp  ) 

Definition at line 194 of file ldbl_fct.c.

References ldbl_lpinfo::bz, ldbl_lpinfo::dobjval, ldbl_lpinfo::dz, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, ldbl_lpinfo::objval, ldbl_lpinfo::piz, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::uz, and ldbl_lpinfo::vstat.

Referenced by ldbl_dual_phaseII_step(), ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_dsolution(), and ldbl_monitor_iter().

void ldbl_ILLfct_compute_dpIIy ( ldbl_lpinfo lp,
ldbl_svector srhs,
ldbl_svector ssoln 
)

Definition at line 2097 of file ldbl_fct.c.

References ldbl_ILLbasis_column_solve(), and ldbl_svector::nzcnt.

Referenced by ldbl_dual_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_compute_dpIy ( ldbl_lpinfo lp,
ldbl_svector srhs,
ldbl_svector ssoln 
)

Definition at line 1993 of file ldbl_fct.c.

References ldbl_ILLbasis_column_solve(), and ldbl_svector::nzcnt.

Referenced by ldbl_dual_phaseI_step().

Here is the call graph for this function:

void ldbl_ILLfct_compute_dsteep_upv ( ldbl_lpinfo lp,
ldbl_svector swz 
)

Definition at line 471 of file ldbl_fct.c.

References ldbl_ILLbasis_column_solve(), and ldbl_lpinfo::zz.

Referenced by ldbl_dual_phaseI_step(), and ldbl_dual_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_compute_dz ( ldbl_lpinfo lp  ) 

Definition at line 293 of file ldbl_fct.c.

References ldbl_lpinfo::cz, ldbl_lpinfo::dz, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, and ldbl_lpinfo::piz.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_get_cinitial(), ldbl_ILLfct_unroll_coef_change(), ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_dsolution(), ldbl_ILLsimplex_retest_psolution(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_compute_phaseI_dz ( ldbl_lpinfo lp  ) 

Definition at line 385 of file ldbl_fct.c.

References ILL_IFTRACE, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::pIdz, and ldbl_lpinfo::pIpiz.

Referenced by ldbl_ILLsimplex_retest_psolution(), and ldbl_primal_phaseI_step().

void ldbl_ILLfct_compute_phaseI_piz ( ldbl_lpinfo lp  ) 

Definition at line 360 of file ldbl_fct.c.

References ldbl_lpinfo::bfeas, ldbl_svector::coef, ldbl_svector::indx, ldbl_lpinfo::nrows, ldbl_lpinfo::pIpiz, ldbl_lpinfo::srhs, and ldbl_lpinfo::ssoln.

Referenced by ldbl_ILLsimplex_retest_psolution(), and ldbl_primal_phaseI_step().

void ldbl_ILLfct_compute_phaseI_xbz ( ldbl_lpinfo lp  ) 

Definition at line 317 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_lpinfo::dfeas, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, ldbl_lpinfo::srhs, ldbl_lpinfo::ssoln, and ldbl_lpinfo::xbz.

Referenced by ldbl_dual_phaseI_step(), and ldbl_ILLsimplex_retest_dsolution().

void ldbl_ILLfct_compute_piz ( ldbl_lpinfo lp  ) 

Definition at line 269 of file ldbl_fct.c.

References ldbl_lpinfo::baz, ldbl_svector::coef, ldbl_lpinfo::cz, ldbl_svector::indx, ldbl_lpinfo::nrows, ldbl_lpinfo::piz, ldbl_lpinfo::srhs, and ldbl_lpinfo::ssoln.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_get_cinitial(), ldbl_ILLfct_unroll_coef_change(), ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_dsolution(), ldbl_ILLsimplex_retest_psolution(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_compute_pobj ( ldbl_lpinfo lp  ) 

Definition at line 168 of file ldbl_fct.c.

References ldbl_lpinfo::baz, ldbl_lpinfo::cz, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, ldbl_lpinfo::objval, ldbl_lpinfo::pobjval, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::uz, ldbl_lpinfo::vstat, and ldbl_lpinfo::xbz.

Referenced by ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_psolution(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_compute_ppIzz ( ldbl_lpinfo lp,
ldbl_svector srhs,
ldbl_svector ssoln 
)

Definition at line 1801 of file ldbl_fct.c.

References ILL_IFTRACE, ldbl_ILLbasis_row_solve(), and ldbl_svector::nzcnt.

Referenced by ldbl_primal_phaseI_step().

Here is the call graph for this function:

void ldbl_ILLfct_compute_psteep_upv ( ldbl_lpinfo lp,
ldbl_svector swz 
)

Definition at line 464 of file ldbl_fct.c.

References ldbl_ILLbasis_row_solve(), and ldbl_lpinfo::yjz.

Referenced by ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_compute_vA ( ldbl_lpinfo lp,
ldbl_svector v,
long double *  vA 
)

Definition at line 588 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_SZERO_TOLER, ldbl_lpinfo::ncols, ldbl_svector::nzcnt, ldbl_lpinfo::rowbeg, ldbl_lpinfo::rowcnt, ldbl_lpinfo::rowind, and ldbl_lpinfo::rowval.

Referenced by ldbl_ILLbasis_tableau_row().

void ldbl_ILLfct_compute_xbz ( ldbl_lpinfo lp  ) 

Definition at line 220 of file ldbl_fct.c.

References ldbl_lpinfo::bz, ldbl_svector::coef, ldbl_svector::indx, ldbl_lpinfo::lz, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, ldbl_lpinfo::srhs, ldbl_lpinfo::ssoln, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::uz, ldbl_lpinfo::vstat, and ldbl_lpinfo::xbz.

Referenced by ldbl_dual_phaseII_step(), ldbl_ILLbasis_get_cinitial(), ldbl_ILLfct_unroll_bound_change(), ldbl_ILLsimplex(), ldbl_ILLsimplex_retest_dsolution(), ldbl_ILLsimplex_retest_psolution(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_compute_yz ( ldbl_lpinfo lp,
ldbl_svector yz,
ldbl_svector updz,
int  col 
)

Definition at line 412 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_lpinfo::f, ldbl_svector::indx, ldbl_ILLbasis_column_solve(), ldbl_ILLbasis_column_solve_update(), ldbl_ILLfactor_set_factor_dparam(), ldbl_PIVZ_TOLER, ldbl_SZERO_TOLER, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_svector::nzcnt, and QS_FACTOR_SZERO_TOL.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLprice_build_psteep_norms(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

Here is the call graph for this function:

int ldbl_ILLfct_compute_zA ( ldbl_lpinfo lp,
ldbl_svector z,
ldbl_svector zA 
)

Definition at line 576 of file ldbl_fct.c.

References ldbl_compute_zA1(), ldbl_compute_zA3(), ldbl_PIVZ_TOLER, ldbl_lpinfo::nrows, and ldbl_svector::nzcnt.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_tableau_row(), ldbl_ILLfct_update_ppI_prices(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_compute_zz ( ldbl_lpinfo lp,
ldbl_svector zz,
int  row 
)

Definition at line 432 of file ldbl_fct.c.

References ldbl_ILLfct_compute_binvrow(), and ldbl_PIVZ_TOLER.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_tableau_row(), ldbl_ILLprice_build_dsteep_norms(), ldbl_ILLprice_get_dsteep_norms(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_dphaseI_simple_update ( ldbl_lpinfo lp,
long double  ftol 
)

Definition at line 1397 of file ldbl_fct.c.

References ldbl_lpinfo::dz, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, STAT_LOWER, STAT_UPPER, VBOUNDED, ldbl_lpinfo::vstat, and ldbl_lpinfo::vtype.

void ldbl_ILLfct_dual_adjust ( ldbl_lpinfo lp,
const long double  ftol 
)

Definition at line 1377 of file ldbl_fct.c.

References ldbl_lpinfo::dz, ldbl_INFTY, ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_lpinfo::nnbasic, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::uz, and ldbl_lpinfo::vstat.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_get_cinitial(), and ldbl_ILLsimplex().

void ldbl_ILLfct_free_bndinfo ( ldbl_bndinfo binfo  ) 

Definition at line 54 of file ldbl_fct.c.

References ldbl_bndinfo::cbound, ILL_IFFREE, and ldbl_bndinfo::pbound.

Referenced by ldbl_ILLfct_bound_shift().

void ldbl_ILLfct_init_counts ( ldbl_lpinfo lp  ) 

Definition at line 1491 of file ldbl_fct.c.

References ldbl_lpinfo::cnts, ldbl_count_struct::dI_iter, ldbl_count_struct::dII_iter, ldbl_count_struct::dnorm_cnt, ldbl_count_struct::dupv_cnt, ILL_IFTRACE, ldbl_C_VALUE, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, ldbl_count_struct::num_pi, ldbl_count_struct::num_pi1, ldbl_count_struct::num_up, ldbl_count_struct::num_y, ldbl_count_struct::num_z, ldbl_count_struct::num_za, ldbl_count_struct::pi1nz_cnt, ldbl_count_struct::pI_iter, ldbl_count_struct::pII_iter, ldbl_count_struct::pinz_cnt, ldbl_count_struct::pivdI, ldbl_count_struct::pivdII, ldbl_count_struct::pivpI, ldbl_count_struct::pivpII, ldbl_count_struct::pnorm_cnt, ldbl_count_struct::pupv_cnt, ldbl_count_struct::tot_iter, ldbl_count_struct::upnz_cnt, ldbl_count_struct::y_ravg, ldbl_count_struct::ynz_cnt, ldbl_count_struct::za_ravg, ldbl_count_struct::zanz_cnt, and ldbl_count_struct::znz_cnt.

void ldbl_ILLfct_load_workvector ( ldbl_lpinfo lp,
ldbl_svector s 
)

Definition at line 105 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_svector::nzcnt, and ldbl_lpinfo::work.

Referenced by ldbl_ILLprice_update_dsteep_norms(), and ldbl_ILLprice_update_psteep_norms().

ldbl_bndinfo* ldbl_ILLfct_new_bndinfo ( void   ) 

Definition at line 39 of file ldbl_fct.c.

References ldbl_bndinfo::cbound, and ldbl_bndinfo::pbound.

Referenced by ldbl_ILLfct_bound_shift().

int ldbl_ILLfct_perturb_bounds ( ldbl_lpinfo lp  ) 

Definition at line 905 of file ldbl_fct.c.

References ldbl_tol_struct::ip_tol, ldbl_expand_var_bounds(), and ldbl_lpinfo::tol.

Referenced by ldbl_monitor_iter().

Here is the call graph for this function:

int ldbl_ILLfct_perturb_coefs ( ldbl_lpinfo lp  ) 

Definition at line 1121 of file ldbl_fct.c.

References ldbl_tol_struct::id_tol, ldbl_expand_var_coefs(), and ldbl_lpinfo::tol.

Referenced by ldbl_monitor_iter().

Here is the call graph for this function:

int ldbl_ILLfct_perturb_phaseI_bounds ( ldbl_lpinfo lp  ) 

Definition at line 919 of file ldbl_fct.c.

References ldbl_expand_phaseI_bounds().

Here is the call graph for this function:

void ldbl_ILLfct_print_counts ( ldbl_lpinfo lp  ) 

Definition at line 1646 of file ldbl_fct.c.

References ldbl_lpinfo::cnts, ldbl_count_struct::dI_iter, ldbl_count_struct::dII_iter, ldbl_count_struct::dnorm_cnt, ldbl_lpinfo::nnbasic, ldbl_lpinfo::nrows, ldbl_count_struct::num_pi, ldbl_count_struct::num_pi1, ldbl_count_struct::num_up, ldbl_count_struct::num_y, ldbl_count_struct::num_z, ldbl_count_struct::num_za, ldbl_lpinfo::O, ldbl_count_struct::pi1nz_cnt, ldbl_count_struct::pI_iter, ldbl_count_struct::pII_iter, ldbl_count_struct::pinz_cnt, ldbl_count_struct::pivdI, ldbl_count_struct::pivdII, ldbl_count_struct::pivpI, ldbl_count_struct::pivpII, ldbl_count_struct::pnorm_cnt, ldbl_ILLlpdata::probname, ldbl_count_struct::tot_iter, ldbl_count_struct::upnz_cnt, ldbl_count_struct::ynz_cnt, ldbl_count_struct::zanz_cnt, and ldbl_count_struct::znz_cnt.

Referenced by ldbl_ILLsimplex().

void ldbl_ILLfct_set_status_values ( ldbl_lpinfo lp,
int  pstatus,
int  dstatus,
int  ptype,
int  dtype 
)

Definition at line 1416 of file ldbl_fct.c.

References ldbl_lpinfo::basisstat, ldbl_lp_status_info::dual_feasible, DUAL_FEASIBLE, DUAL_INFEASIBLE, ldbl_lp_status_info::dual_infeasible, ldbl_lp_status_info::dual_unbounded, DUAL_UNBOUNDED, ldbl_lpinfo::nbchange, ldbl_lpinfo::ncchange, ldbl_lp_status_info::optimal, PHASEI, PHASEII, ldbl_lp_status_info::primal_feasible, PRIMAL_FEASIBLE, PRIMAL_INFEASIBLE, ldbl_lp_status_info::primal_infeasible, ldbl_lp_status_info::primal_unbounded, PRIMAL_UNBOUNDED, and ldbl_lpinfo::probstat.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLsimplex(), ldbl_monitor_iter(), ldbl_primal_phaseI_step(), ldbl_primal_phaseII_step(), and ldbl_terminate_simplex().

void ldbl_ILLfct_set_variable_type ( ldbl_lpinfo lp  ) 

Definition at line 129 of file ldbl_fct.c.

References CLASS_LOGICAL, CLASS_STRUCT, ldbl_INFTY, ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::ncols, ldbl_lpinfo::O, ldbl_ILLlpdata::rowmap, ldbl_lpinfo::uz, VARTIFICIAL, VBOUNDED, ldbl_lpinfo::vclass, VFIXED, VFREE, VLOWER, ldbl_lpinfo::vtype, and VUPPER.

Referenced by ldbl_ILLsimplex().

int ldbl_ILLfct_test_pivot ( ldbl_lpinfo lp,
int  indx,
int  indxtype,
long double  piv_val 
)

Definition at line 2147 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_svector::nzcnt, ROW_PIVOT, and ldbl_lpinfo::yjz.

Referenced by ldbl_dual_phaseI_step(), and ldbl_dual_phaseII_step().

void ldbl_ILLfct_unroll_bound_change ( ldbl_lpinfo lp  ) 

Definition at line 978 of file ldbl_fct.c.

References ldbl_lpinfo::bchanges, BOUND_LOWER, BOUND_UPPER, ldbl_bndinfo::btype, ldbl_bndinfo::cbound, ILL_IFFREE, ILL_IFTRACE, ldbl_ILLfct_compute_xbz(), ldbl_lpinfo::lz, ldbl_lpinfo::nbchange, ldbl_bndinfo::next, ldbl_bndinfo::pbound, STAT_BASIC, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::uz, ldbl_bndinfo::varnum, VARTIFICIAL, VBOUNDED, VFIXED, ldbl_lpinfo::vstat, and ldbl_lpinfo::vtype.

Referenced by ldbl_ILLsimplex(), ldbl_primal_phaseII_step(), and ldbl_terminate_simplex().

Here is the call graph for this function:

void ldbl_ILLfct_unroll_coef_change ( ldbl_lpinfo lp  ) 

Definition at line 1167 of file ldbl_fct.c.

References ldbl_lpinfo::cchanges, ldbl_coefinfo::ccoef, ldbl_lpinfo::cz, ldbl_lpinfo::dz, ILL_IFFREE, ldbl_ILLfct_compute_dz(), ldbl_ILLfct_compute_piz(), ldbl_lpinfo::ncchange, ldbl_coefinfo::next, ldbl_coefinfo::pcoef, STAT_BASIC, ldbl_coefinfo::varnum, ldbl_lpinfo::vindex, and ldbl_lpinfo::vstat.

Referenced by ldbl_dual_phaseII_step(), ldbl_ILLsimplex(), ldbl_monitor_iter(), and ldbl_terminate_simplex().

Here is the call graph for this function:

void ldbl_ILLfct_update_basis_info ( ldbl_lpinfo lp,
int  eindex,
int  lindex,
int  lvstat 
)

Definition at line 629 of file ldbl_fct.c.

References ldbl_lpinfo::basisid, ldbl_lpinfo::baz, ldbl_lpinfo::nbaz, STAT_BASIC, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::vindex, and ldbl_lpinfo::vstat.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLbasis_factor(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_update_counts ( ldbl_lpinfo lp,
int  f,
int  upi,
const long double  upd 
)

Definition at line 1572 of file ldbl_fct.c.

References CNT_DIIPIV, CNT_DIPIV, CNT_DPHASE1ITER, CNT_DPHASE2ITER, CNT_P1PINZ, CNT_PIIPIV, CNT_PINZ, CNT_PIPIV, CNT_PPHASE1ITER, CNT_PPHASE2ITER, CNT_UPNZ, CNT_YNZ, CNT_YRAVG, CNT_ZANZ, CNT_ZARAVG, ldbl_lpinfo::cnts, ldbl_count_struct::dI_iter, ldbl_count_struct::dII_iter, DUAL_PHASEI, DUAL_PHASEII, ILL_IFTRACE, ldbl_update_piv_values(), ldbl_count_struct::num_pi, ldbl_count_struct::num_pi1, ldbl_count_struct::num_up, ldbl_count_struct::num_y, ldbl_count_struct::num_za, ldbl_count_struct::pi1nz_cnt, ldbl_count_struct::pI_iter, ldbl_count_struct::pII_iter, ldbl_count_struct::pinz_cnt, PRIMAL_PHASEI, PRIMAL_PHASEII, ldbl_count_struct::tot_iter, ldbl_count_struct::upnz_cnt, ldbl_count_struct::y_ravg, ldbl_count_struct::ynz_cnt, ldbl_count_struct::za_ravg, and ldbl_count_struct::zanz_cnt.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), ldbl_ILLfct_update_dpI_prices(), ldbl_ILLfct_update_dpII_prices(), ldbl_ILLfct_update_ppI_prices(), ldbl_ILLratio_dI_test(), ldbl_ILLratio_dII_test(), ldbl_ILLratio_longdII_test(), ldbl_ILLratio_pI_test(), ldbl_ILLratio_pII_test(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_update_dfeas ( ldbl_lpinfo lp,
int  eindex,
ldbl_svector srhs 
)

Definition at line 1887 of file ldbl_fct.c.

References BSKIP, ldbl_svector::coef, ldbl_lpinfo::dfeas, ldbl_pI_uinfo::dty, ldbl_lpinfo::dz, ldbl_tol_struct::id_tol, ldbl_svector::indx, ldbl_lpinfo::iwork, ldbl_pI_uinfo::ix, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_lpinfo::nrows, ldbl_svector::nzcnt, ldbl_pI_uinfo::perm, STAT_LOWER, STAT_UPPER, STAT_ZERO, ldbl_pI_uinfo::t, t, ldbl_pI_uinfo::tctr, ldbl_lpinfo::tol, ldbl_pI_uinfo::tz, ldbl_lpinfo::upd, ldbl_lpinfo::vstat, ldbl_lpinfo::vtype, ldbl_lpinfo::work, and ldbl_lpinfo::zA.

Referenced by ldbl_dual_phaseI_step().

void ldbl_ILLfct_update_dIIfeas ( ldbl_lpinfo lp,
int  eindex,
ldbl_svector srhs 
)

Definition at line 2047 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_pI_uinfo::dty, ldbl_svector::indx, ldbl_pI_uinfo::ix, ldbl_add_vectors(), ldbl_lpinfo::lz, ldbl_lpinfo::matbeg, ldbl_lpinfo::matcnt, ldbl_lpinfo::matind, ldbl_lpinfo::matval, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, ldbl_pI_uinfo::perm, STAT_LOWER, STAT_UPPER, ldbl_pI_uinfo::t, t, ldbl_pI_uinfo::tctr, ldbl_pI_uinfo::tz, ldbl_lpinfo::upd, ldbl_lpinfo::uz, ldbl_lpinfo::vstat, and ldbl_lpinfo::zA.

Referenced by ldbl_dual_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_update_dpI_prices ( ldbl_lpinfo lp,
ldbl_price_info pinf,
ldbl_svector srhs,
ldbl_svector ssoln,
int  lindex,
long double  alpha 
)

Definition at line 2004 of file ldbl_fct.c.

References CNT_YRAVG, ldbl_svector::coef, COMPLETE_PRICING, ldbl_price_info::d_strategy, ldbl_pI_uinfo::dty, DUAL_PHASEI, ldbl_pI_uinfo::fs, ldbl_svector::indx, ldbl_add_vectors(), ldbl_ILLfct_update_counts(), ldbl_ILLfct_update_xz(), ldbl_ILLprice_compute_primal_inf(), ldbl_ILLprice_update_mpartial_price(), ldbl_svector::nzcnt, ldbl_pI_uinfo::piv, ROW_PRICING, ldbl_lpinfo::upd, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.

Referenced by ldbl_dual_phaseI_step().

Here is the call graph for this function:

void ldbl_ILLfct_update_dpII_prices ( ldbl_lpinfo lp,
ldbl_price_info pinf,
ldbl_svector srhs,
ldbl_svector ssoln,
int  lindex,
long double  eval,
long double  alpha 
)

Definition at line 2108 of file ldbl_fct.c.

References CNT_YRAVG, ldbl_svector::coef, COMPLETE_PRICING, ldbl_price_info::d_strategy, DUAL_PHASEII, ldbl_svector::indx, ldbl_add_vectors(), ldbl_ILLfct_update_counts(), ldbl_ILLfct_update_xz(), ldbl_ILLprice_compute_primal_inf(), ldbl_ILLprice_update_mpartial_price(), ldbl_svector::nzcnt, ROW_PRICING, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.

Referenced by ldbl_dual_phaseII_step().

Here is the call graph for this function:

void ldbl_ILLfct_update_dz ( ldbl_lpinfo lp,
int  eindex,
long double  alpha 
)

Definition at line 716 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_lpinfo::dz, ldbl_svector::indx, ldbl_svector::nzcnt, and ldbl_lpinfo::zA.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_update_pfeas ( ldbl_lpinfo lp,
int  lindex,
ldbl_svector srhs 
)

Definition at line 1716 of file ldbl_fct.c.

References ldbl_lpinfo::baz, BBOUND, ldbl_lpinfo::bfeas, ldbl_svector::coef, ldbl_pI_uinfo::dty, ILL_IFTRACE, ldbl_svector::indx, ldbl_tol_struct::ip_tol, ldbl_lpinfo::iwork, ldbl_pI_uinfo::ix, ldbl_INFTY, ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_svector::nzcnt, ldbl_pI_uinfo::perm, ldbl_pI_uinfo::t, t, ldbl_pI_uinfo::tctr, ldbl_lpinfo::tol, ldbl_pI_uinfo::tz, ldbl_lpinfo::upd, ldbl_lpinfo::uz, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.

Referenced by ldbl_primal_phaseI_step().

void ldbl_ILLfct_update_pIdz ( ldbl_lpinfo lp,
ldbl_svector zA,
int  eindex,
const long double  alpha 
)

Definition at line 728 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_svector::nzcnt, and ldbl_lpinfo::pIdz.

Referenced by ldbl_ILLfct_update_ppI_prices().

void ldbl_ILLfct_update_pIpiz ( ldbl_lpinfo lp,
ldbl_svector z,
const long double  alpha 
)

Definition at line 695 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_svector::nzcnt, and ldbl_lpinfo::pIpiz.

Referenced by ldbl_ILLfct_update_ppI_prices().

void ldbl_ILLfct_update_piz ( ldbl_lpinfo lp,
long double  alpha 
)

Definition at line 685 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_svector::nzcnt, ldbl_lpinfo::piz, and ldbl_lpinfo::zz.

Referenced by ldbl_dual_phaseI_step(), ldbl_dual_phaseII_step(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_update_ppI_prices ( ldbl_lpinfo lp,
ldbl_price_info pinf,
ldbl_svector srhs,
ldbl_svector ssoln,
int  eindex,
int  lindex,
const long double  alpha 
)

Definition at line 1813 of file ldbl_fct.c.

References CNT_ZARAVG, COL_PRICING, COMPLETE_PRICING, ldbl_pI_uinfo::dty, ldbl_pI_uinfo::fs, ILL_IFTRACE, ldbl_add_vectors(), ldbl_ILLfct_compute_zA(), ldbl_ILLfct_update_counts(), ldbl_ILLfct_update_pIdz(), ldbl_ILLfct_update_pIpiz(), ldbl_ILLprice_compute_dual_inf(), ldbl_ILLprice_update_mpartial_price(), ldbl_svector::nzcnt, ldbl_price_info::p_strategy, ldbl_lpinfo::pIdz, ldbl_pI_uinfo::piv, PRIMAL_PHASEI, ldbl_lpinfo::upd, and ldbl_lpinfo::zz.

Referenced by ldbl_primal_phaseI_step().

Here is the call graph for this function:

void ldbl_ILLfct_update_xz ( ldbl_lpinfo lp,
long double  tz,
int  eindex,
int  lindex 
)

Definition at line 657 of file ldbl_fct.c.

References ldbl_svector::coef, ILL_IFTRACE, ldbl_svector::indx, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, STAT_LOWER, STAT_UPPER, STAT_ZERO, ldbl_lpinfo::uz, ldbl_lpinfo::vstat, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.

Referenced by ldbl_ILLfct_update_dpI_prices(), ldbl_ILLfct_update_dpII_prices(), ldbl_primal_phaseI_step(), and ldbl_primal_phaseII_step().

void ldbl_ILLfct_zero_workvector ( ldbl_lpinfo lp  ) 

Definition at line 119 of file ldbl_fct.c.

References ldbl_svector::coef, ldbl_svector::indx, ldbl_svector::nzcnt, and ldbl_lpinfo::work.

Referenced by ldbl_ILLprice_update_dsteep_norms(), and ldbl_ILLprice_update_psteep_norms().

static double ldbl_my_rand ( int  bound,
ILLrandstate r 
) [static]

Definition at line 756 of file ldbl_fct.c.

References ILLutil_lprand().

Referenced by ldbl_expand_phaseI_bounds(), ldbl_expand_var_bounds(), and ldbl_expand_var_coefs().

Here is the call graph for this function:

static void ldbl_update_piv_values ( ldbl_count_struct c,
int  phase,
const long double  piv 
) [static]

Definition at line 1532 of file ldbl_fct.c.

References DUAL_PHASEI, DUAL_PHASEII, ldbl_count_struct::pivdI, ldbl_count_struct::pivdII, ldbl_count_struct::pivpI, ldbl_count_struct::pivpII, PRIMAL_PHASEI, and PRIMAL_PHASEII.

Referenced by ldbl_ILLfct_update_counts().


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file ldbl_fct.c.


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