mpq_solver.c File Reference

#include "qs_config.h"
#include "exact.h"
#include "mpq_solver.h"
#include "mpq_iqsutil.h"
#include "mpq_util.h"
#include "mpq_lpdefs.h"
#include "mpq_qstruct.h"
#include "mpq_qsopt.h"
#include "mpq_binary.h"
#include "mpq_editor.h"
#include "mpq_price.h"
#include "mpq_lib.h"

Include dependency graph for mpq_solver.c:

Go to the source code of this file.

Functions

mpq_QSLIB_INTERFACE int main (int ac, char **av)
 main function, here we build the LP, execute the options and exit
static void mpq_get_ftype (char *name, int *ftype)
mpq_QSLIB_INTERFACE int mpq_solver_main (int ac, char **av)
static void mpq_usage (char *s)
static int parseargs (int ac, char **av)

Variables

static int mpq_dstrategy = QS_PRICE_DSTEEP
static char * mpq_fname = 0
static int mpq_interactive = 0
static int mpq_lpfile = 0
static unsigned mpq_precision = 128
static int mpq_printsol = 0
static int mpq_pstrategy = QS_PRICE_PSTEEP
static char * mpq_readbasis = 0
static int mpq_showversion = 0
static int mpq_simplexalgo = PRIMAL_SIMPLEX
static int mpq_solvemip = 0
static int mpq_usescaling = 1
static char * mpq_writebasis = 0


Function Documentation

mpq_QSLIB_INTERFACE int main ( int  ac,
char **  av 
)

main function, here we build the LP, execute the options and exit

Definition at line 31 of file demo_qs.c.

References DUAL_SIMPLEX, load_test(), mpq_QSfree_prob(), mpq_QSget_colcount(), mpq_QSget_colnames(), mpq_QSget_objval(), mpq_QSget_pi_array(), mpq_QSget_rowcount(), mpq_QSget_rownames(), mpq_QSget_status(), mpq_QSget_x_array(), mpq_QSwrite_prob(), NULL, QS_LP_INFEASIBLE, QS_LP_MODIFIED, QS_LP_OPTIMAL, QS_LP_UNBOUNDED, QS_LP_UNSOLVED, QSexact_set_precision, QSexact_solver(), QSexactClear(), QSexactStart(), QSopt_ex_version(), and reader_main().

Here is the call graph for this function:

static void mpq_get_ftype ( char *  name,
int *  ftype 
)

Definition at line 326 of file mpq_solver.c.

Referenced by mpq_solver_main().

mpq_QSLIB_INTERFACE int mpq_solver_main ( int  ac,
char **  av 
)

Definition at line 85 of file mpq_solver.c.

References ILL_CLEANUP, ILL_CLEANUP_IF, ILLutil_init_timer(), ILLutil_start_timer(), ILLutil_stop_timer(), ILLutil_zeit(), mpq_qsdata::itcnt, mpq_qsdata::lp, mpq_dstrategy, mpq_fname, mpq_get_ftype(), mpq_ILL_MAXDOUBLE, mpq_ILL_MINDOUBLE, mpq_ILLeditor(), mpq_ILLeditor_init(), mpq_ILLeditor_solve(), mpq_ILLlib_print_x(), mpq_ILLmip_bfs(), mpq_interactive, mpq_lpfile, mpq_precision, mpq_printsol, mpq_pstrategy, mpq_QSfree(), mpq_QSfree_prob(), mpq_QSread_and_load_basis(), mpq_QSread_prob(), mpq_QSset_param(), mpq_QSset_precision(), mpq_QSset_reporter(), mpq_QSversion(), mpq_QSwrite_basis(), mpq_readbasis, mpq_showversion, mpq_simplexalgo, mpq_solvemip, mpq_usescaling, mpq_writebasis, mpq_ILLlpdata::nstruct, mpq_lpinfo::O, parseargs(), mpq_ILLlpdata::probname, QS_PARAM_DUAL_PRICING, QS_PARAM_PRIMAL_PRICING, QS_PARAM_SIMPLEX_DISPLAY, and QS_PARAM_SIMPLEX_SCALING.

Here is the call graph for this function:

static void mpq_usage ( char *  s  )  [static]

Definition at line 226 of file mpq_solver.c.

References mpq_QSfree(), mpq_QSversion(), QS_PRICE_DDANTZIG, QS_PRICE_DDEVEX, QS_PRICE_DMULTPARTIAL, QS_PRICE_DSTEEP, QS_PRICE_PDANTZIG, QS_PRICE_PDEVEX, QS_PRICE_PMULTPARTIAL, and QS_PRICE_PSTEEP.

Referenced by parseargs().

Here is the call graph for this function:

static int parseargs ( int  ac,
char **  av 
) [static]

Definition at line 260 of file mpq_solver.c.

References DUAL_SIMPLEX, ILLutil_bix_getopt(), mpq_dstrategy, mpq_fname, mpq_interactive, mpq_lpfile, mpq_precision, mpq_printsol, mpq_pstrategy, mpq_readbasis, mpq_showversion, mpq_simplexalgo, mpq_solvemip, mpq_usage(), mpq_usescaling, mpq_writebasis, and PRIMAL_SIMPLEX.

Here is the call graph for this function:


Variable Documentation

int mpq_dstrategy = QS_PRICE_DSTEEP [static]

Definition at line 49 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

char* mpq_fname = 0 [static]

Definition at line 41 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_interactive = 0 [static]

Definition at line 44 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_lpfile = 0 [static]

Definition at line 42 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

unsigned mpq_precision = 128 [static]

Definition at line 50 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_printsol = 0 [static]

Definition at line 51 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_pstrategy = QS_PRICE_PSTEEP [static]

Definition at line 48 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

char* mpq_readbasis = 0 [static]

Definition at line 52 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_showversion = 0 [static]

Definition at line 46 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_simplexalgo = PRIMAL_SIMPLEX [static]

Definition at line 47 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_solvemip = 0 [static]

Definition at line 43 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

int mpq_usescaling = 1 [static]

Definition at line 45 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().

char* mpq_writebasis = 0 [static]

Definition at line 53 of file mpq_solver.c.

Referenced by mpq_solver_main(), and parseargs().


Generated on Thu Mar 29 09:45:11 2012 for QSopt_ex by  doxygen 1.4.7