Lp Class Reference

A linear program. More...

#include <lurupa/Lp.h>

Collaboration diagram for Lp:

Collaboration graph
[legend]

List of all members.

Public Member Functions

bool is_consistent () const
 Check lp for consistency.
 Lp (Lurupa *lurupa)
 Constructor.
 Lp ()
 Constructor.
void set_lurupa (Lurupa *lurupa)
 Set Lurupa instance.
 ~Lp ()
 Destructor.

Public Attributes

Solver_status feasibility
 Lp-solver's judgement of problem's feasibility.
int * free_variables
 The indices of the free variables.
int free_variables_size
 Number of free variables in model.
INTERVAL_VECTOR ia
 Right hand sides of the inequalities.
INTERVAL_MATRIX IA
 The inequality matrix.
INTERVAL_VECTOR ib
 Right hand sides of the equations.
INTERVAL_MATRIX IB
 The equation matrix.
INTERVAL_VECTOR ic
 The cost vector.
REAL infinite
 Used lp-solvers representation of infinity (e.g. as bound value).
INTERVAL_VECTOR ix
 Solution of the last solved problem (changes during algorithm as perturbed problems are solved).
INTERVAL_VECTOR iy
 Duals of the inequalities of the last solved problem (changes during algorithm as perturbated problems are solved).
INTERVAL_VECTOR iz
 Duals of the equations of the last solved problem (changes during algorithm as perturbated problems are solved).
Lurupa * lurupa
 Reference to Lurupa instance.
bool maximize
 True if objective function is to be maximized, false otherwise.
Lp_solver * module
 Additional storage for module data.
char * name
 Name of the lp model.
int non_fixed_vars
 Number of non fixed variables in model.
VECTOR xl
 The simple lower bound.
VECTOR xu
 The simple upper bound.


Detailed Description

A linear program.

This class is Lurupa's representation of an lp. The problem is stored in PROFILs interval types.


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