dbl_solver.c File Reference

#include "qs_config.h"
#include "exact.h"
#include "dbl_solver.h"
#include "dbl_iqsutil.h"
#include "dbl_util.h"
#include "dbl_lpdefs.h"
#include "dbl_qstruct.h"
#include "dbl_qsopt.h"
#include "dbl_binary.h"
#include "dbl_editor.h"
#include "dbl_price.h"
#include "dbl_lib.h"

Include dependency graph for dbl_solver.c:

Go to the source code of this file.

Functions

static void dbl_get_ftype (char *name, int *ftype)
dbl_QSLIB_INTERFACE int dbl_solver_main (int ac, char **av)
static void dbl_usage (char *s)
dbl_QSLIB_INTERFACE int main (int ac, char **av)
 main function, here we build the LP, execute the options and exit
static int parseargs (int ac, char **av)

Variables

static int dbl_dstrategy = QS_PRICE_DSTEEP
static char * dbl_fname = 0
static int dbl_interactive = 0
static int dbl_lpfile = 0
static unsigned dbl_precision = 128
static int dbl_printsol = 0
static int dbl_pstrategy = QS_PRICE_PSTEEP
static char * dbl_readbasis = 0
static int dbl_showversion = 0
static int dbl_simplexalgo = PRIMAL_SIMPLEX
static int dbl_solvemip = 0
static int dbl_usescaling = 1
static char * dbl_writebasis = 0


Function Documentation

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

Definition at line 326 of file dbl_solver.c.

Referenced by dbl_solver_main().

dbl_QSLIB_INTERFACE int dbl_solver_main ( int  ac,
char **  av 
)

Definition at line 85 of file dbl_solver.c.

References dbl_dstrategy, dbl_fname, dbl_get_ftype(), dbl_ILL_MAXDOUBLE, dbl_ILL_MINDOUBLE, dbl_ILLeditor(), dbl_ILLeditor_init(), dbl_ILLeditor_solve(), dbl_ILLlib_print_x(), dbl_ILLmip_bfs(), dbl_interactive, dbl_lpfile, dbl_precision, dbl_printsol, dbl_pstrategy, dbl_QSfree(), dbl_QSfree_prob(), dbl_QSread_and_load_basis(), dbl_QSread_prob(), dbl_QSset_param(), dbl_QSset_precision(), dbl_QSset_reporter(), dbl_QSversion(), dbl_QSwrite_basis(), dbl_readbasis, dbl_showversion, dbl_simplexalgo, dbl_solvemip, dbl_usescaling, dbl_writebasis, ILL_CLEANUP, ILL_CLEANUP_IF, ILLutil_init_timer(), ILLutil_start_timer(), ILLutil_stop_timer(), ILLutil_zeit(), dbl_qsdata::itcnt, dbl_qsdata::lp, dbl_ILLlpdata::nstruct, dbl_lpinfo::O, parseargs(), dbl_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 dbl_usage ( char *  s  )  [static]

Definition at line 226 of file dbl_solver.c.

References dbl_QSfree(), dbl_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:

dbl_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 int parseargs ( int  ac,
char **  av 
) [static]

Definition at line 260 of file dbl_solver.c.

References dbl_dstrategy, dbl_fname, dbl_interactive, dbl_lpfile, dbl_precision, dbl_printsol, dbl_pstrategy, dbl_readbasis, dbl_showversion, dbl_simplexalgo, dbl_solvemip, dbl_usage(), dbl_usescaling, dbl_writebasis, DUAL_SIMPLEX, ILLutil_bix_getopt(), and PRIMAL_SIMPLEX.

Here is the call graph for this function:


Variable Documentation

int dbl_dstrategy = QS_PRICE_DSTEEP [static]

Definition at line 49 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

char* dbl_fname = 0 [static]

Definition at line 41 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_interactive = 0 [static]

Definition at line 44 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_lpfile = 0 [static]

Definition at line 42 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

unsigned dbl_precision = 128 [static]

Definition at line 50 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_printsol = 0 [static]

Definition at line 51 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_pstrategy = QS_PRICE_PSTEEP [static]

Definition at line 48 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

char* dbl_readbasis = 0 [static]

Definition at line 52 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_showversion = 0 [static]

Definition at line 46 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_simplexalgo = PRIMAL_SIMPLEX [static]

Definition at line 47 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_solvemip = 0 [static]

Definition at line 43 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

int dbl_usescaling = 1 [static]

Definition at line 45 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().

char* dbl_writebasis = 0 [static]

Definition at line 53 of file dbl_solver.c.

Referenced by dbl_solver_main(), and parseargs().


Generated on Thu Mar 29 09:34:54 2012 for QSopt_ex by  doxygen 1.4.7