simplex.h File Reference

#include "config.h"
#include "lpdata.h"
#include "basicdefs.h"

Include dependency graph for simplex.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  iter_info
struct  param_info

Functions

int build_internal_lpinfo (lpinfo *lp)
void free_internal_lpinfo (lpinfo *lp)
int ILLsimplex (lpinfo *lp, int algorithm, ILLlp_basis *B, price_info *pinf, int *sol_status, int sdisplay, itcnt_t *itcnt)
void ILLsimplex_free_lpinfo (lpinfo *lp)
int ILLsimplex_infcertificate (lpinfo *lp, EGlpNum_t *pi)
void ILLsimplex_init_lpinfo (lpinfo *lp)
void ILLsimplex_load_lpinfo (ILLlpdata *qslp, lpinfo *lp)
int ILLsimplex_pivotin (lpinfo *lp, price_info *pinf, int rcnt, int *rlist, int pivot_opt, int *basis_mod)
int ILLsimplex_retest_dsolution (lpinfo *lp, price_info *p, int phase, feas_info *fs)
int ILLsimplex_retest_psolution (lpinfo *lp, price_info *p, int phase, feas_info *fs)
void ILLsimplex_set_bound (lpinfo *lp, const EGlpNum_t *objbound, int sense)
int ILLsimplex_solution (lpinfo *lp, EGlpNum_t *xz, EGlpNum_t *piz, EGlpNum_t *dz, EGlpNum_t *objval)
void init_internal_lpinfo (lpinfo *lp)


Function Documentation

int build_internal_lpinfo ( lpinfo lp  ) 

Definition at line 318 of file simplex.c.

References ILLlpdata::A, ILLlp_sinfo::A, lpinfo::basisstat, lpinfo::bz, lpinfo::cz, ILL_MAX, init_lp_status_info(), ILLlpdata::lower, ILLlp_sinfo::lower, lpinfo::lz, ILLmatrix::matbeg, lpinfo::matbeg, ILLmatrix::matcnt, lpinfo::matcnt, ILLmatrix::matind, lpinfo::matind, ILLmatrix::matval, lpinfo::matval, ILLlpdata::ncols, ILLlp_sinfo::ncols, lpinfo::ncols, lpinfo::nnbasic, ILLlpdata::nrows, ILLlp_sinfo::nrows, lpinfo::nrows, lpinfo::O, ILLlpdata::obj, ILLlp_sinfo::obj, ILLlpdata::objsense, lpinfo::probstat, ILLlpdata::rhs, ILLlp_sinfo::rhs, ILLlpdata::sinfo, ILLlpdata::upper, ILLlp_sinfo::upper, and lpinfo::uz.

Referenced by ILLsimplex().

Here is the call graph for this function:

void free_internal_lpinfo ( lpinfo lp  ) 

Definition at line 238 of file simplex.c.

References lpinfo::bchanges, lpinfo::bfeas, bndinfo::cbound, lpinfo::cchanges, coefinfo::ccoef, lpinfo::cnts, lpinfo::cz, lpinfo::dfeas, tol_struct::dfeas_tol, lpinfo::dz, tol_struct::id_tol, ILL_IFFREE, ILLsvector_free(), tol_struct::ip_tol, lpinfo::iwork, pI_uinfo::ix, lpinfo::localrows, lpinfo::lz, coefinfo::next, bndinfo::next, bndinfo::pbound, coefinfo::pcoef, pI_uinfo::perm, tol_struct::pfeas_tol, lpinfo::pIdz, lpinfo::pIpiz, tol_struct::pivot_tol, lpinfo::pIxbz, lpinfo::piz, lpinfo::rowbeg, lpinfo::rowcnt, lpinfo::rowind, lpinfo::rowval, lpinfo::srhs, lpinfo::ssoln, tol_struct::szero_tol, pI_uinfo::t, lpinfo::tol, lpinfo::upd, lpinfo::uz, lpinfo::vclass, lpinfo::vtype, lpinfo::work, lpinfo::xbz, count_struct::y_ravg, lpinfo::yjz, count_struct::z_ravg, lpinfo::zA, count_struct::za_ravg, and lpinfo::zz.

Referenced by ILLsimplex(), and ILLsimplex_free_lpinfo().

Here is the call graph for this function:

int ILLsimplex ( lpinfo lp,
int  algorithm,
ILLlp_basis B,
price_info pinf,
int *  sol_status,
int  sdisplay,
itcnt_t itcnt 
)

void ILLsimplex_free_lpinfo ( lpinfo lp  ) 

int ILLsimplex_infcertificate ( lpinfo lp,
EGlpNum_t *  pi 
)

void ILLsimplex_init_lpinfo ( lpinfo lp  ) 

void ILLsimplex_load_lpinfo ( ILLlpdata qslp,
lpinfo lp 
)

int ILLsimplex_pivotin ( lpinfo lp,
price_info pinf,
int  rcnt,
int *  rlist,
int  pivot_opt,
int *  basis_mod 
)

Definition at line 2834 of file simplex.c.

References ratio_res::ecoeff, ILL_SAFE_MALLOC, ratio_res::lbound, NULL, lpinfo::O, ratio_res::pivotval, ILLlpdata::rowmap, SIMPLEX_PIVOTINROW, STAT_BASIC, feas_info::totinfeas, ratio_res::tz, and lpinfo::vstat.

Referenced by QSopt_pivotin_col(), and QSopt_pivotin_row().

int ILLsimplex_retest_dsolution ( lpinfo lp,
price_info p,
int  phase,
feas_info fs 
)

int ILLsimplex_retest_psolution ( lpinfo lp,
price_info p,
int  phase,
feas_info fs 
)

void ILLsimplex_set_bound ( lpinfo lp,
const EGlpNum_t *  objbound,
int  sense 
)

Definition at line 131 of file simplex.c.

References ILL_MAX, and lpinfo::objbound.

Referenced by QSchange_objsense(), and QSset_param_EGlpNum().

int ILLsimplex_solution ( lpinfo lp,
EGlpNum_t *  xz,
EGlpNum_t *  piz,
EGlpNum_t *  dz,
EGlpNum_t *  objval 
)

void init_internal_lpinfo ( lpinfo lp  ) 

Definition at line 180 of file simplex.c.

References lpinfo::bchanges, lpinfo::bfeas, lpinfo::cchanges, lpinfo::cnts, lpinfo::cz, lpinfo::dfeas, tol_struct::dfeas_tol, lpinfo::dz, tol_struct::id_tol, ILL_SAFE_MALLOC, ILLsvector_init(), tol_struct::ip_tol, lpinfo::iwork, pI_uinfo::ix, lpinfo::localrows, lpinfo::lz, lpinfo::nnbasic, lpinfo::nrows, pI_uinfo::perm, tol_struct::pfeas_tol, lpinfo::pIdz, lpinfo::pIpiz, tol_struct::pivot_tol, lpinfo::pIxbz, lpinfo::piz, lpinfo::rowbeg, lpinfo::rowcnt, lpinfo::rowind, lpinfo::rowval, lpinfo::srhs, lpinfo::ssoln, tol_struct::szero_tol, pI_uinfo::t, lpinfo::tol, lpinfo::upd, lpinfo::uz, lpinfo::vclass, lpinfo::vtype, lpinfo::work, lpinfo::xbz, count_struct::y_ravg, lpinfo::yjz, count_struct::z_ravg, lpinfo::zA, count_struct::za_ravg, and lpinfo::zz.

Referenced by ILLsimplex(), and ILLsimplex_init_lpinfo().

Here is the call graph for this function:


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