solver.c File Reference

#include "qs_config.h"
#include "exact.h"
#include "solver.h"
#include "iqsutil.h"
#include "util.h"
#include "lpdefs.h"
#include "qstruct.h"
#include "qsopt.h"
#include "binary.h"
#include "editor.h"
#include "price.h"
#include "lib.h"

Include dependency graph for solver.c:

Go to the source code of this file.

Functions

static void get_ftype (char *name, int *ftype)
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)
QSLIB_INTERFACE int solver_main (int ac, char **av)
static void usage (char *s)

Variables

static int dstrategy = QS_PRICE_DSTEEP
static char * fname = 0
static int interactive = 0
static int lpfile = 0
static unsigned precision = 128
static int printsol = 0
static int pstrategy = QS_PRICE_PSTEEP
static char * readbasis = 0
static int showversion = 0
static int simplexalgo = PRIMAL_SIMPLEX
static int solvemip = 0
static int usescaling = 1
static char * writebasis = 0


Function Documentation

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

Definition at line 326 of file solver.c.

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 solver.c.

References dstrategy, DUAL_SIMPLEX, fname, ILLutil_bix_getopt(), interactive, lpfile, precision, PRIMAL_SIMPLEX, printsol, pstrategy, readbasis, showversion, simplexalgo, solvemip, usage(), usescaling, and writebasis.

Here is the call graph for this function:

QSLIB_INTERFACE int solver_main ( int  ac,
char **  av 
)

Definition at line 85 of file solver.c.

References dstrategy, fname, get_ftype(), ILL_CLEANUP, ILL_CLEANUP_IF, ILL_MAXDOUBLE, ILL_MINDOUBLE, ILLeditor(), ILLeditor_init(), ILLeditor_solve(), ILLlib_print_x(), ILLmip_bfs(), ILLutil_init_timer(), ILLutil_start_timer(), ILLutil_stop_timer(), ILLutil_zeit(), interactive, qsdata::itcnt, qsdata::lp, lpfile, ILLlpdata::nstruct, lpinfo::O, parseargs(), precision, printsol, ILLlpdata::probname, pstrategy, QS_PARAM_DUAL_PRICING, QS_PARAM_PRIMAL_PRICING, QS_PARAM_SIMPLEX_DISPLAY, QS_PARAM_SIMPLEX_SCALING, QSfree(), QSfree_prob(), QSread_and_load_basis(), QSread_prob(), QSset_param(), QSset_precision(), QSset_reporter(), QSversion(), QSwrite_basis(), readbasis, showversion, simplexalgo, solvemip, usescaling, and writebasis.

Here is the call graph for this function:

static void usage ( char *  s  )  [static]

Definition at line 226 of file solver.c.

References QS_PRICE_DDANTZIG, QS_PRICE_DDEVEX, QS_PRICE_DMULTPARTIAL, QS_PRICE_DSTEEP, QS_PRICE_PDANTZIG, QS_PRICE_PDEVEX, QS_PRICE_PMULTPARTIAL, QS_PRICE_PSTEEP, QSfree(), and QSversion().

Here is the call graph for this function:


Variable Documentation

int dstrategy = QS_PRICE_DSTEEP [static]

Definition at line 49 of file solver.c.

char* fname = 0 [static]

Definition at line 41 of file solver.c.

int interactive = 0 [static]

Definition at line 44 of file solver.c.

Referenced by parseargs(), and solver_main().

int lpfile = 0 [static]

Definition at line 42 of file solver.c.

unsigned precision = 128 [static]

Definition at line 50 of file solver.c.

int printsol = 0 [static]

Definition at line 51 of file solver.c.

int pstrategy = QS_PRICE_PSTEEP [static]

Definition at line 48 of file solver.c.

char* readbasis = 0 [static]

Definition at line 52 of file solver.c.

int showversion = 0 [static]

Definition at line 46 of file solver.c.

int simplexalgo = PRIMAL_SIMPLEX [static]

Definition at line 47 of file solver.c.

int solvemip = 0 [static]

Definition at line 43 of file solver.c.

Referenced by parseargs(), and solver_main().

int usescaling = 1 [static]

Definition at line 45 of file solver.c.

char* writebasis = 0 [static]

Definition at line 53 of file solver.c.


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