ldbl_ratio.c File Reference

#include "config.h"
#include "ldbl_sortrus.h"
#include "stddefs.h"
#include "ldbl_iqsutil.h"
#include "ldbl_lpdefs.h"
#include "ldbl_ratio.h"
#include "ldbl_fct.h"

Include dependency graph for ldbl_ratio.c:

Go to the source code of this file.

Defines

#define ldbl_GET_XY_DRATIOTEST

Functions

void ldbl_ILLratio_dI_test (ldbl_lpinfo *lp, int lindex, int lvstat, ldbl_ratio_res *rs)
void ldbl_ILLratio_dII_test (ldbl_lpinfo *lp, int lvstat, ldbl_ratio_res *rs)
void ldbl_ILLratio_longdII_test (ldbl_lpinfo *lp, int lindex, int lvstat, ldbl_ratio_res *rs)
void ldbl_ILLratio_pI_test (ldbl_lpinfo *lp, int eindex, int dir, ldbl_ratio_res *rs)
void ldbl_ILLratio_pII_test (ldbl_lpinfo *lp, int eindex, int dir, ldbl_ratio_res *rs)
void ldbl_ILLratio_pivotin_test (ldbl_lpinfo *lp, int *rlist, int rcnt, ldbl_ratio_res *rs)

Variables

static int TRACE = 0


Define Documentation

#define ldbl_GET_XY_DRATIOTEST

Value:

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

Definition at line 446 of file ldbl_ratio.c.

Referenced by ldbl_ILLratio_dI_test(), ldbl_ILLratio_dII_test(), and ldbl_ILLratio_longdII_test().


Function Documentation

void ldbl_ILLratio_dI_test ( ldbl_lpinfo lp,
int  lindex,
int  lvstat,
ldbl_ratio_res rs 
)

Definition at line 459 of file ldbl_ratio.c.

References BATOLOWER, BATOUPPER, BBTOLOWER, BBTOUPPER, BSKIP, ldbl_pI_uinfo::c_obj, CNT_DIPIV, ldbl_svector::coef, ldbl_lpinfo::dfeas, ldbl_ratio_res::eindex, ldbl_pI_uinfo::fs, ldbl_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, ldbl_svector::indx, ldbl_tol_struct::ip_tol, ldbl_pI_uinfo::ix, ldbl_GET_XY_DRATIOTEST, ldbl_ILLfct_update_counts(), ldbl_ILLutil_EGlpNum_perm_quicksort(), ldbl_INFTY, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, ldbl_pI_uinfo::perm, ldbl_pI_uinfo::piv, ldbl_tol_struct::pivot_tol, ldbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, ldbl_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, STAT_ZERO, ldbl_pI_uinfo::t, t, ldbl_pI_uinfo::tctr, ldbl_lpinfo::tol, ldbl_pI_uinfo::tz, ldbl_ratio_res::tz, ldbl_lpinfo::upd, VARTIFICIAL, VBOUNDED, VFIXED, ldbl_lpinfo::vstat, ldbl_lpinfo::vtype, ldbl_ILLlp_cache::x, ldbl_lpinfo::xbz, and ldbl_lpinfo::zA.

Here is the call graph for this function:

void ldbl_ILLratio_dII_test ( ldbl_lpinfo lp,
int  lvstat,
ldbl_ratio_res rs 
)

Definition at line 631 of file ldbl_ratio.c.

References CNT_DIIPIV, ldbl_svector::coef, ldbl_ratio_res::coeffch, ldbl_lpinfo::cz, ldbl_tol_struct::dfeas_tol, ldbl_pI_uinfo::dty, ldbl_lpinfo::dz, ldbl_ratio_res::ecoeff, ldbl_ratio_res::eindex, ILL_CLEANUP, ILL_IFTRACE2, ldbl_svector::indx, ldbl_GET_XY_DRATIOTEST, ldbl_ILLfct_update_counts(), ldbl_INFTY, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, ldbl_pI_uinfo::piv, ldbl_tol_struct::pivot_tol, ldbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, ldbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, ldbl_pI_uinfo::tctr, ldbl_lpinfo::tol, ldbl_ratio_res::tz, ldbl_lpinfo::upd, VARTIFICIAL, VFIXED, ldbl_lpinfo::vstat, ldbl_lpinfo::vtype, ldbl_ILLlp_cache::x, and ldbl_lpinfo::zA.

Here is the call graph for this function:

void ldbl_ILLratio_longdII_test ( ldbl_lpinfo lp,
int  lindex,
int  lvstat,
ldbl_ratio_res rs 
)

Definition at line 782 of file ldbl_ratio.c.

References ldbl_lpinfo::baz, ldbl_pI_uinfo::c_obj, CNT_DIIPIV, ldbl_svector::coef, ldbl_ratio_res::coeffch, ldbl_lpinfo::cz, ldbl_tol_struct::dfeas_tol, ldbl_pI_uinfo::dty, ldbl_lpinfo::dz, ldbl_ratio_res::ecoeff, ldbl_ratio_res::eindex, ldbl_pI_uinfo::i, ILL_CLEANUP, ILL_IFTRACE2, ldbl_svector::indx, ldbl_pI_uinfo::ix, ldbl_GET_XY_DRATIOTEST, ldbl_ILLfct_update_counts(), ldbl_ILLutil_EGlpNum_perm_quicksort(), ldbl_INFTY, ldbl_NINFTY, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, ldbl_pI_uinfo::perm, ldbl_tol_struct::pfeas_tol, ldbl_pI_uinfo::piv, ldbl_tol_struct::pivot_tol, ldbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, ldbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, STAT_ZERO, ldbl_pI_uinfo::t, t, ldbl_pI_uinfo::tctr, ldbl_lpinfo::tol, ldbl_ratio_res::tz, ldbl_pI_uinfo::tz, ldbl_lpinfo::upd, ldbl_lpinfo::uz, VARTIFICIAL, VBOUNDED, VFIXED, ldbl_lpinfo::vstat, ldbl_lpinfo::vtype, ldbl_ILLlp_cache::x, ldbl_lpinfo::xbz, and ldbl_lpinfo::zA.

Here is the call graph for this function:

void ldbl_ILLratio_pI_test ( ldbl_lpinfo lp,
int  eindex,
int  dir,
ldbl_ratio_res rs 
)

Definition at line 37 of file ldbl_ratio.c.

References BATOLOWER, BATOUPPER, ldbl_lpinfo::baz, BBOUND, BBTOLOWER, BBTOUPPER, ldbl_lpinfo::bfeas, ldbl_pI_uinfo::c_obj, CNT_PIPIV, ldbl_svector::coef, ldbl_pI_uinfo::fs, ldbl_pI_uinfo::i, ldbl_tol_struct::id_tol, ILL_CLEANUP, ILL_IFTRACE2, ldbl_svector::indx, ldbl_pI_uinfo::ix, ldbl_ILLfct_update_counts(), ldbl_ILLutil_EGlpNum_perm_quicksort(), ldbl_INFTY, ldbl_NINFTY, ldbl_ratio_res::lindex, ldbl_ratio_res::lvstat, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, ldbl_pI_uinfo::perm, ldbl_lpinfo::pIdz, ldbl_pI_uinfo::piv, ldbl_tol_struct::pivot_tol, ldbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NEGATIVE, RATIO_NOBCHANGE, ldbl_ratio_res::ratio_stat, STAT_LOWER, STAT_UPPER, ldbl_pI_uinfo::t, t, ldbl_pI_uinfo::tctr, ldbl_lpinfo::tol, ldbl_pI_uinfo::tz, ldbl_ratio_res::tz, ldbl_lpinfo::upd, ldbl_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, ldbl_lpinfo::vtype, ldbl_ILLlp_cache::x, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.

Here is the call graph for this function:

void ldbl_ILLratio_pII_test ( ldbl_lpinfo lp,
int  eindex,
int  dir,
ldbl_ratio_res rs 
)

Definition at line 257 of file ldbl_ratio.c.

References ldbl_lpinfo::baz, ldbl_ratio_res::boundch, CNT_PIIPIV, ldbl_svector::coef, ILL_CLEANUP, ILL_IFTRACE2, ldbl_svector::indx, ldbl_ratio_res::lbound, ldbl_ILLfct_update_counts(), ldbl_INFTY, ldbl_NINFTY, ldbl_ratio_res::lindex, ldbl_ratio_res::lvstat, ldbl_lpinfo::lz, ldbl_lpinfo::nbaz, ldbl_svector::nzcnt, ldbl_tol_struct::pfeas_tol, ldbl_tol_struct::pivot_tol, ldbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, RATIO_NOBCHANGE, ldbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::tol, ldbl_ratio_res::tz, ldbl_lpinfo::uz, VBOUNDED, VDECREASE, VINCREASE, ldbl_lpinfo::vtype, ldbl_ILLlp_cache::x, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.

Here is the call graph for this function:

void ldbl_ILLratio_pivotin_test ( ldbl_lpinfo lp,
int *  rlist,
int  rcnt,
ldbl_ratio_res rs 
)

Definition at line 1132 of file ldbl_ratio.c.

References ldbl_lpinfo::baz, ldbl_ratio_res::boundch, ldbl_svector::coef, ILL_CLEANUP, ldbl_svector::indx, ldbl_lpinfo::iwork, ldbl_ratio_res::lbound, ldbl_INFTY, ldbl_NINFTY, ldbl_ratio_res::lindex, ldbl_ratio_res::lvstat, ldbl_lpinfo::lz, NULL, ldbl_svector::nzcnt, ldbl_tol_struct::pivot_tol, ldbl_ratio_res::pivotval, RATIO_BCHANGE, RATIO_FAILED, ldbl_ratio_res::ratio_stat, RATIO_UNBOUNDED, STAT_LOWER, STAT_UPPER, ldbl_lpinfo::tol, ldbl_ratio_res::tz, ldbl_lpinfo::uz, ldbl_ILLlp_cache::x, ldbl_lpinfo::xbz, and ldbl_lpinfo::yjz.


Variable Documentation

int TRACE = 0 [static]

Definition at line 24 of file ldbl_ratio.c.


Generated on Thu Mar 29 09:40:43 2012 for QSopt_ex by  doxygen 1.4.7