Solver_module Class Reference

Interface for an lp-solver module. More...

#include <lurupa/Solver_module.h>

Inheritance diagram for Solver_module:

Inheritance graph
[legend]
Collaboration diagram for Solver_module:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static bool get_dual_ray (Lp *lp, int &iyzray)
 Get dual improving ray.
static bool get_primal_ray (Lp *lp, int &ixray)
 Get primal improving ray.
static const char * get_version ()
 Get module version string.
static bool init (Report *preport)
 Initialize the module.
static void lp2solver (Lp *lp_lurupa)
 Transform an lp into solver's representation.
static void print_brief_version ()
 Print brief version information.
static void print_options ()
 Print options supported by module.
static void print_version ()
 Print version information.
static void restore_dual (Lp *lp)
 Restore lp after dual perturbation.
static void restore_dual_phase1 (Lp *)
 Restore lp after dual phase 1 perturbation.
static void restore_primal (Lp *lp)
 Restore lp after primal perturbation.
static void restore_primal_phase1 (Lp *)
 Restore lp after primal phase 1 perturbation.
static void set_bounds (Lp *lp, int var, double lower, double upper)
 Set simple bounds on a variable.
static void set_dual_phase1 (Lp *lp)
 Set dual phase 1 lp.
static bool set_lp (Lp *lp, const double relative_interval_radius, double &eta)
 Set an lp.
static void set_primal_phase1 (Lp *lp)
 Set primal phase 1 lp.
static bool solve_dual_perturbed (const VECTOR &deflation_c, Lp *lp, const int iteration)
 Compute solution of dual perturbed lp.
static bool solve_original (Lp *lp, double &optimal_value)
 Compute solution of unperturbed lp.
static bool solve_primal_perturbed (const Primal_deflation &deflation, Lp *lp, const int iteration)
 Compute solution of primal perturbed lp.
static double get_accuracy ()
 Get accuracy used by solver.
static bool read_lp (Lp *lp, FILE *in, const double relative_interval_radius, double &eta)
 Read an lp.
static bool set_module_options (int argc, char *argv[])
 Set module options.

Static Protected Attributes

static Reportpreport = NULL
 pointer to report class instance


Detailed Description

Interface for an lp-solver module.

This class is the prototype for the lp-solver modules. The interface between Lurupa and the lp-solver is specified.


The documentation for this class was generated from the following files:

Generated on Thu Jun 26 18:08:54 2008 for Lurupa by  doxygen 1.5.6