fp20_ratio.c File Reference

#include "config.h"
#include "fp20_sortrus.h"
#include "stddefs.h"
#include "fp20_iqsutil.h"
#include "fp20_lpdefs.h"
#include "fp20_ratio.h"
#include "fp20_fct.h"

Include dependency graph for fp20_ratio.c:

Go to the source code of this file.

Defines

#define fp20_GET_XY_DRATIOTEST

Functions

void fp20_ILLratio_dI_test (fp20_lpinfo *lp, int lindex, int lvstat, fp20_ratio_res *rs)
void fp20_ILLratio_dII_test (fp20_lpinfo *lp, int lvstat, fp20_ratio_res *rs)
void fp20_ILLratio_longdII_test (fp20_lpinfo *lp, int lindex, int lvstat, fp20_ratio_res *rs)
void fp20_ILLratio_pI_test (fp20_lpinfo *lp, int eindex, int dir, fp20_ratio_res *rs)
void fp20_ILLratio_pII_test (fp20_lpinfo *lp, int eindex, int dir, fp20_ratio_res *rs)
void fp20_ILLratio_pivotin_test (fp20_lpinfo *lp, int *rlist, int rcnt, fp20_ratio_res *rs)

Variables

static int TRACE = 0


Define Documentation

#define fp20_GET_XY_DRATIOTEST

Value:

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

Definition at line 446 of file fp20_ratio.c.

Referenced by fp20_ILLratio_dI_test(), fp20_ILLratio_dII_test(), and fp20_ILLratio_longdII_test().


Function Documentation

void fp20_ILLratio_dI_test ( fp20_lpinfo lp,
int  lindex,
int  lvstat,
fp20_ratio_res rs 
)

Definition at line 459 of file fp20_ratio.c.

References BATOLOWER, BATOUPPER, BBTOLOWER, BBTOUPPER, BSKIP, fp20_pI_uinfo::c_obj, CNT_DIPIV, fp20_svector::coef, fp20_lpinfo::dfeas, fp20_ratio_res::eindex, fp20_GET_XY_DRATIOTEST, fp20_ILLfct_update_counts(), fp20_ILLutil_EGlpNum_perm_quicksort(), fp20_INFTY, fp20_pI_uinfo::fs, fp20_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, fp20_svector::indx, fp20_tol_struct::ip_tol, fp20_pI_uinfo::ix, fp20_lpinfo::nbaz, fp20_svector::nzcnt, fp20_pI_uinfo::perm, fp20_pI_uinfo::piv, fp20_tol_struct::pivot_tol, fp20_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, fp20_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, STAT_ZERO, fp20_pI_uinfo::t, t, fp20_pI_uinfo::tctr, fp20_lpinfo::tol, fp20_pI_uinfo::tz, fp20_ratio_res::tz, fp20_lpinfo::upd, VARTIFICIAL, VBOUNDED, VFIXED, fp20_lpinfo::vstat, fp20_lpinfo::vtype, fp20_ILLlp_cache::x, fp20_lpinfo::xbz, and fp20_lpinfo::zA.

Here is the call graph for this function:

void fp20_ILLratio_dII_test ( fp20_lpinfo lp,
int  lvstat,
fp20_ratio_res rs 
)

Definition at line 631 of file fp20_ratio.c.

References CNT_DIIPIV, fp20_svector::coef, fp20_ratio_res::coeffch, fp20_lpinfo::cz, fp20_tol_struct::dfeas_tol, fp20_pI_uinfo::dty, fp20_lpinfo::dz, fp20_ratio_res::ecoeff, fp20_ratio_res::eindex, fp20_GET_XY_DRATIOTEST, fp20_ILLfct_update_counts(), fp20_INFTY, ILL_CLEANUP, ILL_IFTRACE2, fp20_svector::indx, fp20_lpinfo::nbaz, fp20_svector::nzcnt, fp20_pI_uinfo::piv, fp20_tol_struct::pivot_tol, fp20_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, fp20_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, fp20_pI_uinfo::tctr, fp20_lpinfo::tol, fp20_ratio_res::tz, fp20_lpinfo::upd, VARTIFICIAL, VFIXED, fp20_lpinfo::vstat, fp20_lpinfo::vtype, fp20_ILLlp_cache::x, and fp20_lpinfo::zA.

Here is the call graph for this function:

void fp20_ILLratio_longdII_test ( fp20_lpinfo lp,
int  lindex,
int  lvstat,
fp20_ratio_res rs 
)

Definition at line 782 of file fp20_ratio.c.

References fp20_lpinfo::baz, fp20_pI_uinfo::c_obj, CNT_DIIPIV, fp20_svector::coef, fp20_ratio_res::coeffch, fp20_lpinfo::cz, fp20_tol_struct::dfeas_tol, fp20_pI_uinfo::dty, fp20_lpinfo::dz, fp20_ratio_res::ecoeff, fp20_ratio_res::eindex, fp20_GET_XY_DRATIOTEST, fp20_ILLfct_update_counts(), fp20_ILLutil_EGlpNum_perm_quicksort(), fp20_INFTY, fp20_NINFTY, fp20_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, fp20_svector::indx, fp20_pI_uinfo::ix, fp20_lpinfo::lz, fp20_lpinfo::nbaz, fp20_svector::nzcnt, fp20_pI_uinfo::perm, fp20_tol_struct::pfeas_tol, fp20_pI_uinfo::piv, fp20_tol_struct::pivot_tol, fp20_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, fp20_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, fp20_pI_uinfo::t, t, fp20_pI_uinfo::tctr, fp20_lpinfo::tol, fp20_ratio_res::tz, fp20_pI_uinfo::tz, fp20_lpinfo::upd, fp20_lpinfo::uz, VARTIFICIAL, VBOUNDED, VFIXED, fp20_lpinfo::vstat, fp20_lpinfo::vtype, fp20_ILLlp_cache::x, fp20_lpinfo::xbz, and fp20_lpinfo::zA.

Here is the call graph for this function:

void fp20_ILLratio_pI_test ( fp20_lpinfo lp,
int  eindex,
int  dir,
fp20_ratio_res rs 
)

Definition at line 37 of file fp20_ratio.c.

References BATOLOWER, BATOUPPER, fp20_lpinfo::baz, BBOUND, BBTOLOWER, BBTOUPPER, fp20_lpinfo::bfeas, fp20_pI_uinfo::c_obj, CNT_PIPIV, fp20_svector::coef, fp20_ILLfct_update_counts(), fp20_ILLutil_EGlpNum_perm_quicksort(), fp20_INFTY, fp20_NINFTY, fp20_pI_uinfo::fs, fp20_pI_uinfo::i, fp20_tol_struct::id_tol, ILL_CLEANUP, ILL_IFTRACE2, fp20_svector::indx, fp20_pI_uinfo::ix, fp20_ratio_res::lindex, fp20_ratio_res::lvstat, fp20_lpinfo::lz, fp20_lpinfo::nbaz, fp20_svector::nzcnt, fp20_pI_uinfo::perm, fp20_lpinfo::pIdz, fp20_pI_uinfo::piv, fp20_tol_struct::pivot_tol, fp20_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, RATIO_NOBCHANGE, fp20_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, fp20_pI_uinfo::t, t, fp20_pI_uinfo::tctr, fp20_lpinfo::tol, fp20_pI_uinfo::tz, fp20_ratio_res::tz, fp20_lpinfo::upd, fp20_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, fp20_lpinfo::vtype, fp20_ILLlp_cache::x, fp20_lpinfo::xbz, and fp20_lpinfo::yjz.

Here is the call graph for this function:

void fp20_ILLratio_pII_test ( fp20_lpinfo lp,
int  eindex,
int  dir,
fp20_ratio_res rs 
)

Definition at line 257 of file fp20_ratio.c.

References fp20_lpinfo::baz, fp20_ratio_res::boundch, CNT_PIIPIV, fp20_svector::coef, fp20_ILLfct_update_counts(), fp20_INFTY, fp20_NINFTY, ILL_CLEANUP, ILL_IFTRACE2, fp20_svector::indx, fp20_ratio_res::lbound, fp20_ratio_res::lindex, fp20_ratio_res::lvstat, fp20_lpinfo::lz, fp20_lpinfo::nbaz, fp20_svector::nzcnt, fp20_tol_struct::pfeas_tol, fp20_tol_struct::pivot_tol, fp20_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NOBCHANGE, fp20_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, fp20_lpinfo::tol, fp20_ratio_res::tz, fp20_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, fp20_lpinfo::vtype, fp20_ILLlp_cache::x, fp20_lpinfo::xbz, and fp20_lpinfo::yjz.

Here is the call graph for this function:

void fp20_ILLratio_pivotin_test ( fp20_lpinfo lp,
int *  rlist,
int  rcnt,
fp20_ratio_res rs 
)

Definition at line 1132 of file fp20_ratio.c.

References fp20_lpinfo::baz, fp20_ratio_res::boundch, fp20_svector::coef, fp20_INFTY, fp20_NINFTY, ILL_CLEANUP, fp20_svector::indx, fp20_lpinfo::iwork, fp20_ratio_res::lbound, fp20_ratio_res::lindex, fp20_ratio_res::lvstat, fp20_lpinfo::lz, NULL, fp20_svector::nzcnt, fp20_tol_struct::pivot_tol, fp20_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, fp20_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, fp20_lpinfo::tol, fp20_ratio_res::tz, fp20_lpinfo::uz, fp20_ILLlp_cache::x, fp20_lpinfo::xbz, and fp20_lpinfo::yjz.


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file fp20_ratio.c.


Generated on Thu Mar 29 09:38:50 2012 for QSopt_ex by  doxygen 1.4.7