mpf_ratio.c File Reference

#include "config.h"
#include "mpf_sortrus.h"
#include "stddefs.h"
#include "mpf_iqsutil.h"
#include "mpf_lpdefs.h"
#include "mpf_ratio.h"
#include "mpf_fct.h"

Include dependency graph for mpf_ratio.c:

Go to the source code of this file.

Defines

#define mpf_GET_XY_DRATIOTEST

Functions

void mpf_ILLratio_dI_test (mpf_lpinfo *lp, int lindex, int lvstat, mpf_ratio_res *rs)
void mpf_ILLratio_dII_test (mpf_lpinfo *lp, int lvstat, mpf_ratio_res *rs)
void mpf_ILLratio_longdII_test (mpf_lpinfo *lp, int lindex, int lvstat, mpf_ratio_res *rs)
void mpf_ILLratio_pI_test (mpf_lpinfo *lp, int eindex, int dir, mpf_ratio_res *rs)
void mpf_ILLratio_pII_test (mpf_lpinfo *lp, int eindex, int dir, mpf_ratio_res *rs)
void mpf_ILLratio_pivotin_test (mpf_lpinfo *lp, int *rlist, int rcnt, mpf_ratio_res *rs)

Variables

static int TRACE = 0


Define Documentation

#define mpf_GET_XY_DRATIOTEST

Value:

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

Definition at line 446 of file mpf_ratio.c.

Referenced by mpf_ILLratio_dI_test(), mpf_ILLratio_dII_test(), and mpf_ILLratio_longdII_test().


Function Documentation

void mpf_ILLratio_dI_test ( mpf_lpinfo lp,
int  lindex,
int  lvstat,
mpf_ratio_res rs 
)

Definition at line 459 of file mpf_ratio.c.

References BATOLOWER, BATOUPPER, BBTOLOWER, BBTOUPPER, BSKIP, mpf_pI_uinfo::c_obj, CNT_DIPIV, mpf_svector::coef, mpf_lpinfo::dfeas, mpf_ratio_res::eindex, mpf_pI_uinfo::fs, mpf_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, mpf_svector::indx, mpf_tol_struct::ip_tol, mpf_pI_uinfo::ix, mpf_GET_XY_DRATIOTEST, mpf_ILLfct_update_counts(), mpf_ILLutil_EGlpNum_perm_quicksort(), mpf_INFTY, mpf_lpinfo::nbaz, mpf_svector::nzcnt, mpf_pI_uinfo::perm, mpf_pI_uinfo::piv, mpf_tol_struct::pivot_tol, mpf_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, mpf_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, STAT_ZERO, mpf_pI_uinfo::t, t, mpf_pI_uinfo::tctr, mpf_lpinfo::tol, mpf_pI_uinfo::tz, mpf_ratio_res::tz, mpf_lpinfo::upd, VARTIFICIAL, VBOUNDED, VFIXED, mpf_lpinfo::vstat, mpf_lpinfo::vtype, mpf_ILLlp_cache::x, mpf_lpinfo::xbz, and mpf_lpinfo::zA.

Here is the call graph for this function:

void mpf_ILLratio_dII_test ( mpf_lpinfo lp,
int  lvstat,
mpf_ratio_res rs 
)

Definition at line 631 of file mpf_ratio.c.

References CNT_DIIPIV, mpf_svector::coef, mpf_ratio_res::coeffch, mpf_lpinfo::cz, mpf_tol_struct::dfeas_tol, mpf_pI_uinfo::dty, mpf_lpinfo::dz, mpf_ratio_res::ecoeff, mpf_ratio_res::eindex, ILL_CLEANUP, ILL_IFTRACE2, mpf_svector::indx, mpf_GET_XY_DRATIOTEST, mpf_ILLfct_update_counts(), mpf_INFTY, mpf_lpinfo::nbaz, mpf_svector::nzcnt, mpf_pI_uinfo::piv, mpf_tol_struct::pivot_tol, mpf_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, mpf_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, mpf_pI_uinfo::tctr, mpf_lpinfo::tol, mpf_ratio_res::tz, mpf_lpinfo::upd, VARTIFICIAL, VFIXED, mpf_lpinfo::vstat, mpf_lpinfo::vtype, mpf_ILLlp_cache::x, and mpf_lpinfo::zA.

Here is the call graph for this function:

void mpf_ILLratio_longdII_test ( mpf_lpinfo lp,
int  lindex,
int  lvstat,
mpf_ratio_res rs 
)

Definition at line 782 of file mpf_ratio.c.

References mpf_lpinfo::baz, mpf_pI_uinfo::c_obj, CNT_DIIPIV, mpf_svector::coef, mpf_ratio_res::coeffch, mpf_lpinfo::cz, mpf_tol_struct::dfeas_tol, mpf_pI_uinfo::dty, mpf_lpinfo::dz, mpf_ratio_res::ecoeff, mpf_ratio_res::eindex, mpf_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, mpf_svector::indx, mpf_pI_uinfo::ix, mpf_lpinfo::lz, mpf_GET_XY_DRATIOTEST, mpf_ILLfct_update_counts(), mpf_ILLutil_EGlpNum_perm_quicksort(), mpf_INFTY, mpf_NINFTY, mpf_lpinfo::nbaz, mpf_svector::nzcnt, mpf_pI_uinfo::perm, mpf_tol_struct::pfeas_tol, mpf_pI_uinfo::piv, mpf_tol_struct::pivot_tol, mpf_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, mpf_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, mpf_pI_uinfo::t, t, mpf_pI_uinfo::tctr, mpf_lpinfo::tol, mpf_ratio_res::tz, mpf_pI_uinfo::tz, mpf_lpinfo::upd, mpf_lpinfo::uz, VARTIFICIAL, VBOUNDED, VFIXED, mpf_lpinfo::vstat, mpf_lpinfo::vtype, mpf_ILLlp_cache::x, mpf_lpinfo::xbz, and mpf_lpinfo::zA.

Here is the call graph for this function:

void mpf_ILLratio_pI_test ( mpf_lpinfo lp,
int  eindex,
int  dir,
mpf_ratio_res rs 
)

Definition at line 37 of file mpf_ratio.c.

References BATOLOWER, BATOUPPER, mpf_lpinfo::baz, BBOUND, BBTOLOWER, BBTOUPPER, mpf_lpinfo::bfeas, mpf_pI_uinfo::c_obj, CNT_PIPIV, mpf_svector::coef, mpf_pI_uinfo::fs, mpf_pI_uinfo::i, mpf_tol_struct::id_tol, ILL_CLEANUP, ILL_IFTRACE2, mpf_svector::indx, mpf_pI_uinfo::ix, mpf_ratio_res::lindex, mpf_ratio_res::lvstat, mpf_lpinfo::lz, mpf_ILLfct_update_counts(), mpf_ILLutil_EGlpNum_perm_quicksort(), mpf_INFTY, mpf_NINFTY, mpf_lpinfo::nbaz, mpf_svector::nzcnt, mpf_pI_uinfo::perm, mpf_lpinfo::pIdz, mpf_pI_uinfo::piv, mpf_tol_struct::pivot_tol, mpf_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, RATIO_NOBCHANGE, mpf_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, mpf_pI_uinfo::t, t, mpf_pI_uinfo::tctr, mpf_lpinfo::tol, mpf_pI_uinfo::tz, mpf_ratio_res::tz, mpf_lpinfo::upd, mpf_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, mpf_lpinfo::vtype, mpf_ILLlp_cache::x, mpf_lpinfo::xbz, and mpf_lpinfo::yjz.

Here is the call graph for this function:

void mpf_ILLratio_pII_test ( mpf_lpinfo lp,
int  eindex,
int  dir,
mpf_ratio_res rs 
)

Definition at line 257 of file mpf_ratio.c.

References mpf_lpinfo::baz, mpf_ratio_res::boundch, CNT_PIIPIV, mpf_svector::coef, ILL_CLEANUP, ILL_IFTRACE2, mpf_svector::indx, mpf_ratio_res::lbound, mpf_ratio_res::lindex, mpf_ratio_res::lvstat, mpf_lpinfo::lz, mpf_ILLfct_update_counts(), mpf_INFTY, mpf_NINFTY, mpf_lpinfo::nbaz, mpf_svector::nzcnt, mpf_tol_struct::pfeas_tol, mpf_tol_struct::pivot_tol, mpf_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NOBCHANGE, mpf_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, mpf_lpinfo::tol, mpf_ratio_res::tz, mpf_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, mpf_lpinfo::vtype, mpf_ILLlp_cache::x, mpf_lpinfo::xbz, and mpf_lpinfo::yjz.

Here is the call graph for this function:

void mpf_ILLratio_pivotin_test ( mpf_lpinfo lp,
int *  rlist,
int  rcnt,
mpf_ratio_res rs 
)

Definition at line 1132 of file mpf_ratio.c.

References mpf_lpinfo::baz, mpf_ratio_res::boundch, mpf_svector::coef, ILL_CLEANUP, mpf_svector::indx, mpf_lpinfo::iwork, mpf_ratio_res::lbound, mpf_ratio_res::lindex, mpf_ratio_res::lvstat, mpf_lpinfo::lz, mpf_INFTY, mpf_NINFTY, NULL, mpf_svector::nzcnt, mpf_tol_struct::pivot_tol, mpf_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, mpf_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, mpf_lpinfo::tol, mpf_ratio_res::tz, mpf_lpinfo::uz, mpf_ILLlp_cache::x, mpf_lpinfo::xbz, and mpf_lpinfo::yjz.


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file mpf_ratio.c.


Generated on Thu Mar 29 09:42:57 2012 for QSopt_ex by  doxygen 1.4.7