mpf_solver.c File Reference

#include "qs_config.h"
#include "exact.h"
#include "mpf_solver.h"
#include "mpf_iqsutil.h"
#include "mpf_util.h"
#include "mpf_lpdefs.h"
#include "mpf_qstruct.h"
#include "mpf_qsopt.h"
#include "mpf_binary.h"
#include "mpf_editor.h"
#include "mpf_price.h"
#include "mpf_lib.h"

Include dependency graph for mpf_solver.c:

Go to the source code of this file.

Functions

mpf_QSLIB_INTERFACE int main (int ac, char **av)
 main function, here we build the LP, execute the options and exit
static void mpf_get_ftype (char *name, int *ftype)
mpf_QSLIB_INTERFACE int mpf_solver_main (int ac, char **av)
static void mpf_usage (char *s)
static int parseargs (int ac, char **av)

Variables

static int mpf_dstrategy = QS_PRICE_DSTEEP
static char * mpf_fname = 0
static int mpf_interactive = 0
static int mpf_lpfile = 0
static unsigned mpf_precision = 128
static int mpf_printsol = 0
static int mpf_pstrategy = QS_PRICE_PSTEEP
static char * mpf_readbasis = 0
static int mpf_showversion = 0
static int mpf_simplexalgo = PRIMAL_SIMPLEX
static int mpf_solvemip = 0
static int mpf_usescaling = 1
static char * mpf_writebasis = 0


Function Documentation

mpf_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.

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

Definition at line 326 of file mpf_solver.c.

Referenced by mpf_solver_main().

mpf_QSLIB_INTERFACE int mpf_solver_main ( int  ac,
char **  av 
)

Definition at line 85 of file mpf_solver.c.

References ILL_CLEANUP, ILL_CLEANUP_IF, ILLutil_init_timer(), ILLutil_start_timer(), ILLutil_stop_timer(), ILLutil_zeit(), mpf_qsdata::itcnt, mpf_qsdata::lp, mpf_dstrategy, mpf_fname, mpf_get_ftype(), mpf_ILL_MAXDOUBLE, mpf_ILL_MINDOUBLE, mpf_ILLeditor(), mpf_ILLeditor_init(), mpf_ILLeditor_solve(), mpf_ILLlib_print_x(), mpf_ILLmip_bfs(), mpf_interactive, mpf_lpfile, mpf_precision, mpf_printsol, mpf_pstrategy, mpf_QSfree(), mpf_QSfree_prob(), mpf_QSread_and_load_basis(), mpf_QSread_prob(), mpf_QSset_param(), mpf_QSset_precision(), mpf_QSset_reporter(), mpf_QSversion(), mpf_QSwrite_basis(), mpf_readbasis, mpf_showversion, mpf_simplexalgo, mpf_solvemip, mpf_usescaling, mpf_writebasis, mpf_ILLlpdata::nstruct, mpf_lpinfo::O, parseargs(), mpf_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 mpf_usage ( char *  s  )  [static]

Definition at line 226 of file mpf_solver.c.

References mpf_QSfree(), mpf_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 mpf_solver.c.

References DUAL_SIMPLEX, ILLutil_bix_getopt(), mpf_dstrategy, mpf_fname, mpf_interactive, mpf_lpfile, mpf_precision, mpf_printsol, mpf_pstrategy, mpf_readbasis, mpf_showversion, mpf_simplexalgo, mpf_solvemip, mpf_usage(), mpf_usescaling, mpf_writebasis, and PRIMAL_SIMPLEX.

Here is the call graph for this function:


Variable Documentation

int mpf_dstrategy = QS_PRICE_DSTEEP [static]

Definition at line 49 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

char* mpf_fname = 0 [static]

Definition at line 41 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_interactive = 0 [static]

Definition at line 44 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_lpfile = 0 [static]

Definition at line 42 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

unsigned mpf_precision = 128 [static]

Definition at line 50 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_printsol = 0 [static]

Definition at line 51 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_pstrategy = QS_PRICE_PSTEEP [static]

Definition at line 48 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

char* mpf_readbasis = 0 [static]

Definition at line 52 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_showversion = 0 [static]

Definition at line 46 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_simplexalgo = PRIMAL_SIMPLEX [static]

Definition at line 47 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_solvemip = 0 [static]

Definition at line 43 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

int mpf_usescaling = 1 [static]

Definition at line 45 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().

char* mpf_writebasis = 0 [static]

Definition at line 53 of file mpf_solver.c.

Referenced by mpf_solver_main(), and parseargs().


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