dbl_ratio.c File Reference

#include "config.h"
#include "dbl_sortrus.h"
#include "stddefs.h"
#include "dbl_iqsutil.h"
#include "dbl_lpdefs.h"
#include "dbl_ratio.h"
#include "dbl_fct.h"

Include dependency graph for dbl_ratio.c:

Go to the source code of this file.

Defines

#define dbl_GET_XY_DRATIOTEST

Functions

void dbl_ILLratio_dI_test (dbl_lpinfo *lp, int lindex, int lvstat, dbl_ratio_res *rs)
void dbl_ILLratio_dII_test (dbl_lpinfo *lp, int lvstat, dbl_ratio_res *rs)
void dbl_ILLratio_longdII_test (dbl_lpinfo *lp, int lindex, int lvstat, dbl_ratio_res *rs)
void dbl_ILLratio_pI_test (dbl_lpinfo *lp, int eindex, int dir, dbl_ratio_res *rs)
void dbl_ILLratio_pII_test (dbl_lpinfo *lp, int eindex, int dir, dbl_ratio_res *rs)
void dbl_ILLratio_pivotin_test (dbl_lpinfo *lp, int *rlist, int rcnt, dbl_ratio_res *rs)

Variables

static int TRACE = 0


Define Documentation

#define dbl_GET_XY_DRATIOTEST

Value:

if (lp->vstat[col] == STAT_UPPER){ \
        dbl_EGlpNumCopyNeg(x,lp->dz[j]);\
        dbl_EGlpNumCopy(y, *zAj);\
      } \
      else{ \
         dbl_EGlpNumCopy(x, lp->dz[j]); \
         dbl_EGlpNumCopyNeg(y, *zAj);\
      } \
      if (lvstat == STAT_UPPER) \
         dbl_EGlpNumSign(y);

Definition at line 446 of file dbl_ratio.c.

Referenced by dbl_ILLratio_dI_test(), dbl_ILLratio_dII_test(), and dbl_ILLratio_longdII_test().


Function Documentation

void dbl_ILLratio_dI_test ( dbl_lpinfo lp,
int  lindex,
int  lvstat,
dbl_ratio_res rs 
)

Definition at line 459 of file dbl_ratio.c.

References BATOLOWER, BATOUPPER, BBTOLOWER, BBTOUPPER, BSKIP, dbl_pI_uinfo::c_obj, CNT_DIPIV, dbl_svector::coef, dbl_GET_XY_DRATIOTEST, dbl_ILLfct_update_counts(), dbl_ILLutil_EGlpNum_perm_quicksort(), dbl_INFTY, dbl_lpinfo::dfeas, dbl_ratio_res::eindex, dbl_pI_uinfo::fs, dbl_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, dbl_svector::indx, dbl_tol_struct::ip_tol, dbl_pI_uinfo::ix, dbl_lpinfo::nbaz, dbl_svector::nzcnt, dbl_pI_uinfo::perm, dbl_pI_uinfo::piv, dbl_tol_struct::pivot_tol, dbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, dbl_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, STAT_ZERO, dbl_pI_uinfo::t, t, dbl_pI_uinfo::tctr, dbl_lpinfo::tol, dbl_pI_uinfo::tz, dbl_ratio_res::tz, dbl_lpinfo::upd, VARTIFICIAL, VBOUNDED, VFIXED, dbl_lpinfo::vstat, dbl_lpinfo::vtype, dbl_ILLlp_cache::x, dbl_lpinfo::xbz, and dbl_lpinfo::zA.

Here is the call graph for this function:

void dbl_ILLratio_dII_test ( dbl_lpinfo lp,
int  lvstat,
dbl_ratio_res rs 
)

Definition at line 631 of file dbl_ratio.c.

References CNT_DIIPIV, dbl_svector::coef, dbl_ratio_res::coeffch, dbl_lpinfo::cz, dbl_GET_XY_DRATIOTEST, dbl_ILLfct_update_counts(), dbl_INFTY, dbl_tol_struct::dfeas_tol, dbl_pI_uinfo::dty, dbl_lpinfo::dz, dbl_ratio_res::ecoeff, dbl_ratio_res::eindex, ILL_CLEANUP, ILL_IFTRACE2, dbl_svector::indx, dbl_lpinfo::nbaz, dbl_svector::nzcnt, dbl_pI_uinfo::piv, dbl_tol_struct::pivot_tol, dbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, dbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, dbl_pI_uinfo::tctr, dbl_lpinfo::tol, dbl_ratio_res::tz, dbl_lpinfo::upd, VARTIFICIAL, VFIXED, dbl_lpinfo::vstat, dbl_lpinfo::vtype, dbl_ILLlp_cache::x, and dbl_lpinfo::zA.

Here is the call graph for this function:

void dbl_ILLratio_longdII_test ( dbl_lpinfo lp,
int  lindex,
int  lvstat,
dbl_ratio_res rs 
)

Definition at line 782 of file dbl_ratio.c.

References dbl_lpinfo::baz, dbl_pI_uinfo::c_obj, CNT_DIIPIV, dbl_svector::coef, dbl_ratio_res::coeffch, dbl_lpinfo::cz, dbl_GET_XY_DRATIOTEST, dbl_ILLfct_update_counts(), dbl_ILLutil_EGlpNum_perm_quicksort(), dbl_INFTY, dbl_NINFTY, dbl_tol_struct::dfeas_tol, dbl_pI_uinfo::dty, dbl_lpinfo::dz, dbl_ratio_res::ecoeff, dbl_ratio_res::eindex, dbl_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, dbl_svector::indx, dbl_pI_uinfo::ix, dbl_lpinfo::lz, dbl_lpinfo::nbaz, dbl_svector::nzcnt, dbl_pI_uinfo::perm, dbl_tol_struct::pfeas_tol, dbl_pI_uinfo::piv, dbl_tol_struct::pivot_tol, dbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, dbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, dbl_pI_uinfo::t, t, dbl_pI_uinfo::tctr, dbl_lpinfo::tol, dbl_ratio_res::tz, dbl_pI_uinfo::tz, dbl_lpinfo::upd, dbl_lpinfo::uz, VARTIFICIAL, VBOUNDED, VFIXED, dbl_lpinfo::vstat, dbl_lpinfo::vtype, dbl_ILLlp_cache::x, dbl_lpinfo::xbz, and dbl_lpinfo::zA.

Here is the call graph for this function:

void dbl_ILLratio_pI_test ( dbl_lpinfo lp,
int  eindex,
int  dir,
dbl_ratio_res rs 
)

Definition at line 37 of file dbl_ratio.c.

References BATOLOWER, BATOUPPER, dbl_lpinfo::baz, BBOUND, BBTOLOWER, BBTOUPPER, dbl_lpinfo::bfeas, dbl_pI_uinfo::c_obj, CNT_PIPIV, dbl_svector::coef, dbl_ILLfct_update_counts(), dbl_ILLutil_EGlpNum_perm_quicksort(), dbl_INFTY, dbl_NINFTY, dbl_pI_uinfo::fs, dbl_pI_uinfo::i, dbl_tol_struct::id_tol, ILL_CLEANUP, ILL_IFTRACE2, dbl_svector::indx, dbl_pI_uinfo::ix, dbl_ratio_res::lindex, dbl_ratio_res::lvstat, dbl_lpinfo::lz, dbl_lpinfo::nbaz, dbl_svector::nzcnt, dbl_pI_uinfo::perm, dbl_lpinfo::pIdz, dbl_pI_uinfo::piv, dbl_tol_struct::pivot_tol, dbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, RATIO_NOBCHANGE, dbl_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, dbl_pI_uinfo::t, t, dbl_pI_uinfo::tctr, dbl_lpinfo::tol, dbl_pI_uinfo::tz, dbl_ratio_res::tz, dbl_lpinfo::upd, dbl_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, dbl_lpinfo::vtype, dbl_ILLlp_cache::x, dbl_lpinfo::xbz, and dbl_lpinfo::yjz.

Here is the call graph for this function:

void dbl_ILLratio_pII_test ( dbl_lpinfo lp,
int  eindex,
int  dir,
dbl_ratio_res rs 
)

Definition at line 257 of file dbl_ratio.c.

References dbl_lpinfo::baz, dbl_ratio_res::boundch, CNT_PIIPIV, dbl_svector::coef, dbl_ILLfct_update_counts(), dbl_INFTY, dbl_NINFTY, ILL_CLEANUP, ILL_IFTRACE2, dbl_svector::indx, dbl_ratio_res::lbound, dbl_ratio_res::lindex, dbl_ratio_res::lvstat, dbl_lpinfo::lz, dbl_lpinfo::nbaz, dbl_svector::nzcnt, dbl_tol_struct::pfeas_tol, dbl_tol_struct::pivot_tol, dbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NOBCHANGE, dbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, dbl_lpinfo::tol, dbl_ratio_res::tz, dbl_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, dbl_lpinfo::vtype, dbl_ILLlp_cache::x, dbl_lpinfo::xbz, and dbl_lpinfo::yjz.

Here is the call graph for this function:

void dbl_ILLratio_pivotin_test ( dbl_lpinfo lp,
int *  rlist,
int  rcnt,
dbl_ratio_res rs 
)

Definition at line 1132 of file dbl_ratio.c.

References dbl_lpinfo::baz, dbl_ratio_res::boundch, dbl_svector::coef, dbl_INFTY, dbl_NINFTY, ILL_CLEANUP, dbl_svector::indx, dbl_lpinfo::iwork, dbl_ratio_res::lbound, dbl_ratio_res::lindex, dbl_ratio_res::lvstat, dbl_lpinfo::lz, NULL, dbl_svector::nzcnt, dbl_tol_struct::pivot_tol, dbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, dbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, dbl_lpinfo::tol, dbl_ratio_res::tz, dbl_lpinfo::uz, dbl_ILLlp_cache::x, dbl_lpinfo::xbz, and dbl_lpinfo::yjz.


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file dbl_ratio.c.


Generated on Thu Mar 29 09:34:27 2012 for QSopt_ex by  doxygen 1.4.7