#include "config.h"
#include "sortrus.h"
#include "stddefs.h"
#include "iqsutil.h"
#include "lpdefs.h"
#include "ratio.h"
#include "fct.h"
Include dependency graph for ratio.c:

Go to the source code of this file.
Defines | |
| #define | GET_XY_DRATIOTEST |
Functions | |
| void | ILLratio_dI_test (lpinfo *lp, int lindex, int lvstat, ratio_res *rs) |
| void | ILLratio_dII_test (lpinfo *lp, int lvstat, ratio_res *rs) |
| void | ILLratio_longdII_test (lpinfo *lp, int lindex, int lvstat, ratio_res *rs) |
| void | ILLratio_pI_test (lpinfo *lp, int eindex, int dir, ratio_res *rs) |
| void | ILLratio_pII_test (lpinfo *lp, int eindex, int dir, ratio_res *rs) |
| void | ILLratio_pivotin_test (lpinfo *lp, int *rlist, int rcnt, ratio_res *rs) |
Variables | |
| static int | TRACE = 0 |
| #define GET_XY_DRATIOTEST |
Value:
if (lp->vstat[col] == STAT_UPPER){ \ EGlpNumCopyNeg(x,lp->dz[j]);\ EGlpNumCopy(y, *zAj);\ } \ else{ \ EGlpNumCopy(x, lp->dz[j]); \ EGlpNumCopyNeg(y, *zAj);\ } \ if (lvstat == STAT_UPPER) \ EGlpNumSign(y);
Definition at line 446 of file ratio.c.
Referenced by ILLratio_dI_test(), ILLratio_dII_test(), and ILLratio_longdII_test().
Definition at line 459 of file ratio.c.
References BATOLOWER, BATOUPPER, BBTOLOWER, BBTOUPPER, BSKIP, pI_uinfo::c_obj, CNT_DIPIV, svector::coef, lpinfo::dfeas, ratio_res::eindex, pI_uinfo::fs, GET_XY_DRATIOTEST, pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, ILLfct_update_counts(), ILLutil_EGlpNum_perm_quicksort(), svector::indx, INFTY, tol_struct::ip_tol, pI_uinfo::ix, lpinfo::nbaz, svector::nzcnt, pI_uinfo::perm, pI_uinfo::piv, tol_struct::pivot_tol, ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, STAT_ZERO, pI_uinfo::t, t, pI_uinfo::tctr, lpinfo::tol, pI_uinfo::tz, ratio_res::tz, lpinfo::upd, VARTIFICIAL, VBOUNDED, VFIXED, lpinfo::vstat, lpinfo::vtype, ILLlp_cache::x, lpinfo::xbz, and lpinfo::zA.
Referenced by dual_phaseI_step().
Here is the call graph for this function:

Definition at line 631 of file ratio.c.
References CNT_DIIPIV, svector::coef, ratio_res::coeffch, lpinfo::cz, tol_struct::dfeas_tol, pI_uinfo::dty, lpinfo::dz, ratio_res::ecoeff, ratio_res::eindex, GET_XY_DRATIOTEST, ILL_CLEANUP, ILL_IFTRACE2, ILLfct_update_counts(), svector::indx, INFTY, lpinfo::nbaz, svector::nzcnt, pI_uinfo::piv, tol_struct::pivot_tol, ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, pI_uinfo::tctr, lpinfo::tol, ratio_res::tz, lpinfo::upd, VARTIFICIAL, VFIXED, lpinfo::vstat, lpinfo::vtype, ILLlp_cache::x, and lpinfo::zA.
Here is the call graph for this function:

Definition at line 782 of file ratio.c.
References lpinfo::baz, pI_uinfo::c_obj, CNT_DIIPIV, svector::coef, ratio_res::coeffch, lpinfo::cz, tol_struct::dfeas_tol, pI_uinfo::dty, lpinfo::dz, ratio_res::ecoeff, ratio_res::eindex, GET_XY_DRATIOTEST, pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, ILLfct_update_counts(), ILLutil_EGlpNum_perm_quicksort(), svector::indx, INFTY, pI_uinfo::ix, lpinfo::lz, lpinfo::nbaz, NINFTY, svector::nzcnt, pI_uinfo::perm, tol_struct::pfeas_tol, pI_uinfo::piv, tol_struct::pivot_tol, ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, pI_uinfo::t, t, pI_uinfo::tctr, lpinfo::tol, ratio_res::tz, pI_uinfo::tz, lpinfo::upd, lpinfo::uz, VARTIFICIAL, VBOUNDED, VFIXED, lpinfo::vstat, lpinfo::vtype, ILLlp_cache::x, lpinfo::xbz, and lpinfo::zA.
Referenced by dual_phaseII_step().
Here is the call graph for this function:

Definition at line 37 of file ratio.c.
References BATOLOWER, BATOUPPER, lpinfo::baz, BBOUND, BBTOLOWER, BBTOUPPER, lpinfo::bfeas, pI_uinfo::c_obj, CNT_PIPIV, svector::coef, pI_uinfo::fs, pI_uinfo::i, tol_struct::id_tol, ILL_CLEANUP, ILL_IFTRACE2, ILLfct_update_counts(), ILLutil_EGlpNum_perm_quicksort(), svector::indx, INFTY, pI_uinfo::ix, ratio_res::lindex, ratio_res::lvstat, lpinfo::lz, lpinfo::nbaz, NINFTY, svector::nzcnt, pI_uinfo::perm, lpinfo::pIdz, pI_uinfo::piv, tol_struct::pivot_tol, ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, RATIO_NOBCHANGE, ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, pI_uinfo::t, t, pI_uinfo::tctr, lpinfo::tol, pI_uinfo::tz, ratio_res::tz, lpinfo::upd, lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, lpinfo::vtype, ILLlp_cache::x, lpinfo::xbz, and lpinfo::yjz.
Referenced by primal_phaseI_step().
Here is the call graph for this function:

Definition at line 257 of file ratio.c.
References lpinfo::baz, ratio_res::boundch, CNT_PIIPIV, svector::coef, ILL_CLEANUP, ILL_IFTRACE2, ILLfct_update_counts(), svector::indx, INFTY, ratio_res::lbound, ratio_res::lindex, ratio_res::lvstat, lpinfo::lz, lpinfo::nbaz, NINFTY, svector::nzcnt, tol_struct::pfeas_tol, tol_struct::pivot_tol, ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NOBCHANGE, ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, lpinfo::tol, ratio_res::tz, lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, lpinfo::vtype, ILLlp_cache::x, lpinfo::xbz, and lpinfo::yjz.
Referenced by primal_phaseII_step().
Here is the call graph for this function:

Definition at line 1132 of file ratio.c.
References lpinfo::baz, ratio_res::boundch, svector::coef, ILL_CLEANUP, svector::indx, INFTY, lpinfo::iwork, ratio_res::lbound, ratio_res::lindex, ratio_res::lvstat, lpinfo::lz, NINFTY, NULL, svector::nzcnt, tol_struct::pivot_tol, ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, lpinfo::tol, ratio_res::tz, lpinfo::uz, ILLlp_cache::x, lpinfo::xbz, and lpinfo::yjz.
1.4.7