mpq_ratio.c File Reference

#include "config.h"
#include "mpq_sortrus.h"
#include "stddefs.h"
#include "mpq_iqsutil.h"
#include "mpq_lpdefs.h"
#include "mpq_ratio.h"
#include "mpq_fct.h"

Include dependency graph for mpq_ratio.c:

Go to the source code of this file.

Defines

#define mpq_GET_XY_DRATIOTEST

Functions

void mpq_ILLratio_dI_test (mpq_lpinfo *lp, int lindex, int lvstat, mpq_ratio_res *rs)
void mpq_ILLratio_dII_test (mpq_lpinfo *lp, int lvstat, mpq_ratio_res *rs)
void mpq_ILLratio_longdII_test (mpq_lpinfo *lp, int lindex, int lvstat, mpq_ratio_res *rs)
void mpq_ILLratio_pI_test (mpq_lpinfo *lp, int eindex, int dir, mpq_ratio_res *rs)
void mpq_ILLratio_pII_test (mpq_lpinfo *lp, int eindex, int dir, mpq_ratio_res *rs)
void mpq_ILLratio_pivotin_test (mpq_lpinfo *lp, int *rlist, int rcnt, mpq_ratio_res *rs)

Variables

static int TRACE = 0


Define Documentation

#define mpq_GET_XY_DRATIOTEST

Value:

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

Definition at line 446 of file mpq_ratio.c.

Referenced by mpq_ILLratio_dI_test(), mpq_ILLratio_dII_test(), and mpq_ILLratio_longdII_test().


Function Documentation

void mpq_ILLratio_dI_test ( mpq_lpinfo lp,
int  lindex,
int  lvstat,
mpq_ratio_res rs 
)

Definition at line 459 of file mpq_ratio.c.

References BATOLOWER, BATOUPPER, BBTOLOWER, BBTOUPPER, BSKIP, mpq_pI_uinfo::c_obj, CNT_DIPIV, mpq_svector::coef, mpq_lpinfo::dfeas, mpq_ratio_res::eindex, mpq_pI_uinfo::fs, mpq_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, mpq_svector::indx, mpq_tol_struct::ip_tol, mpq_pI_uinfo::ix, mpq_GET_XY_DRATIOTEST, mpq_ILLfct_update_counts(), mpq_ILLutil_EGlpNum_perm_quicksort(), mpq_INFTY, mpq_lpinfo::nbaz, mpq_svector::nzcnt, mpq_pI_uinfo::perm, mpq_pI_uinfo::piv, mpq_tol_struct::pivot_tol, mpq_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, mpq_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, STAT_ZERO, mpq_pI_uinfo::t, t, mpq_pI_uinfo::tctr, mpq_lpinfo::tol, mpq_pI_uinfo::tz, mpq_ratio_res::tz, mpq_lpinfo::upd, VARTIFICIAL, VBOUNDED, VFIXED, mpq_lpinfo::vstat, mpq_lpinfo::vtype, mpq_ILLlp_cache::x, mpq_lpinfo::xbz, and mpq_lpinfo::zA.

Here is the call graph for this function:

void mpq_ILLratio_dII_test ( mpq_lpinfo lp,
int  lvstat,
mpq_ratio_res rs 
)

Definition at line 631 of file mpq_ratio.c.

References CNT_DIIPIV, mpq_svector::coef, mpq_ratio_res::coeffch, mpq_lpinfo::cz, mpq_tol_struct::dfeas_tol, mpq_pI_uinfo::dty, mpq_lpinfo::dz, mpq_ratio_res::ecoeff, mpq_ratio_res::eindex, ILL_CLEANUP, ILL_IFTRACE2, mpq_svector::indx, mpq_GET_XY_DRATIOTEST, mpq_ILLfct_update_counts(), mpq_INFTY, mpq_lpinfo::nbaz, mpq_svector::nzcnt, mpq_pI_uinfo::piv, mpq_tol_struct::pivot_tol, mpq_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, mpq_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, mpq_pI_uinfo::tctr, mpq_lpinfo::tol, mpq_ratio_res::tz, mpq_lpinfo::upd, VARTIFICIAL, VFIXED, mpq_lpinfo::vstat, mpq_lpinfo::vtype, mpq_ILLlp_cache::x, and mpq_lpinfo::zA.

Here is the call graph for this function:

void mpq_ILLratio_longdII_test ( mpq_lpinfo lp,
int  lindex,
int  lvstat,
mpq_ratio_res rs 
)

Definition at line 782 of file mpq_ratio.c.

References mpq_lpinfo::baz, mpq_pI_uinfo::c_obj, CNT_DIIPIV, mpq_svector::coef, mpq_ratio_res::coeffch, mpq_lpinfo::cz, mpq_tol_struct::dfeas_tol, mpq_pI_uinfo::dty, mpq_lpinfo::dz, mpq_ratio_res::ecoeff, mpq_ratio_res::eindex, mpq_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, mpq_svector::indx, mpq_pI_uinfo::ix, mpq_lpinfo::lz, mpq_GET_XY_DRATIOTEST, mpq_ILLfct_update_counts(), mpq_ILLutil_EGlpNum_perm_quicksort(), mpq_INFTY, mpq_NINFTY, mpq_lpinfo::nbaz, mpq_svector::nzcnt, mpq_pI_uinfo::perm, mpq_tol_struct::pfeas_tol, mpq_pI_uinfo::piv, mpq_tol_struct::pivot_tol, mpq_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, mpq_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, mpq_pI_uinfo::t, t, mpq_pI_uinfo::tctr, mpq_lpinfo::tol, mpq_ratio_res::tz, mpq_pI_uinfo::tz, mpq_lpinfo::upd, mpq_lpinfo::uz, VARTIFICIAL, VBOUNDED, VFIXED, mpq_lpinfo::vstat, mpq_lpinfo::vtype, mpq_ILLlp_cache::x, mpq_lpinfo::xbz, and mpq_lpinfo::zA.

Here is the call graph for this function:

void mpq_ILLratio_pI_test ( mpq_lpinfo lp,
int  eindex,
int  dir,
mpq_ratio_res rs 
)

Definition at line 37 of file mpq_ratio.c.

References BATOLOWER, BATOUPPER, mpq_lpinfo::baz, BBOUND, BBTOLOWER, BBTOUPPER, mpq_lpinfo::bfeas, mpq_pI_uinfo::c_obj, CNT_PIPIV, mpq_svector::coef, mpq_pI_uinfo::fs, mpq_pI_uinfo::i, mpq_tol_struct::id_tol, ILL_CLEANUP, ILL_IFTRACE2, mpq_svector::indx, mpq_pI_uinfo::ix, mpq_ratio_res::lindex, mpq_ratio_res::lvstat, mpq_lpinfo::lz, mpq_ILLfct_update_counts(), mpq_ILLutil_EGlpNum_perm_quicksort(), mpq_INFTY, mpq_NINFTY, mpq_lpinfo::nbaz, mpq_svector::nzcnt, mpq_pI_uinfo::perm, mpq_lpinfo::pIdz, mpq_pI_uinfo::piv, mpq_tol_struct::pivot_tol, mpq_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, RATIO_NOBCHANGE, mpq_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, mpq_pI_uinfo::t, t, mpq_pI_uinfo::tctr, mpq_lpinfo::tol, mpq_pI_uinfo::tz, mpq_ratio_res::tz, mpq_lpinfo::upd, mpq_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, mpq_lpinfo::vtype, mpq_ILLlp_cache::x, mpq_lpinfo::xbz, and mpq_lpinfo::yjz.

Here is the call graph for this function:

void mpq_ILLratio_pII_test ( mpq_lpinfo lp,
int  eindex,
int  dir,
mpq_ratio_res rs 
)

Definition at line 257 of file mpq_ratio.c.

References mpq_lpinfo::baz, mpq_ratio_res::boundch, CNT_PIIPIV, mpq_svector::coef, ILL_CLEANUP, ILL_IFTRACE2, mpq_svector::indx, mpq_ratio_res::lbound, mpq_ratio_res::lindex, mpq_ratio_res::lvstat, mpq_lpinfo::lz, mpq_ILLfct_update_counts(), mpq_INFTY, mpq_NINFTY, mpq_lpinfo::nbaz, mpq_svector::nzcnt, mpq_tol_struct::pfeas_tol, mpq_tol_struct::pivot_tol, mpq_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NOBCHANGE, mpq_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, mpq_lpinfo::tol, mpq_ratio_res::tz, mpq_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, mpq_lpinfo::vtype, mpq_ILLlp_cache::x, mpq_lpinfo::xbz, and mpq_lpinfo::yjz.

Here is the call graph for this function:

void mpq_ILLratio_pivotin_test ( mpq_lpinfo lp,
int *  rlist,
int  rcnt,
mpq_ratio_res rs 
)

Definition at line 1132 of file mpq_ratio.c.

References mpq_lpinfo::baz, mpq_ratio_res::boundch, mpq_svector::coef, ILL_CLEANUP, mpq_svector::indx, mpq_lpinfo::iwork, mpq_ratio_res::lbound, mpq_ratio_res::lindex, mpq_ratio_res::lvstat, mpq_lpinfo::lz, mpq_INFTY, mpq_NINFTY, NULL, mpq_svector::nzcnt, mpq_tol_struct::pivot_tol, mpq_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, mpq_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, mpq_lpinfo::tol, mpq_ratio_res::tz, mpq_lpinfo::uz, mpq_ILLlp_cache::x, mpq_lpinfo::xbz, and mpq_lpinfo::yjz.


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file mpq_ratio.c.


Generated on Thu Mar 29 09:44:46 2012 for QSopt_ex by  doxygen 1.4.7