globals.h File Reference

Global properties. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Bound status

enum  Bound_status {
  bs_verified, bs_priminf, bs_dualinf, bs_orginf,
  bs_orgunb, bs_pertinf, bs_noenc, bs_warn,
  bs_rank, bs_iter, bs_failure, bs_timeout,
  bs_running
}
 Bound status More...
static const char * bound_status_string []
 Bound status strings

Lp-solver status

enum  Solver_status {
  ss_feasible, ss_unbounded, ss_infeasible, ss_failure,
  ss_timeout, ss_unknown
}
 Lp-solver status. More...
static const char * solver_status_string []
 Lp-solver status strings.

Defines

Tables
The kind of tables that are written to disk by the command line client.

#define LU_T_CSV   2
 CSV table.
#define LU_T_LATEX   1
 LaTeX table.

Enumerations

enum  Csv_style { octave, matlab }
 CSV style. More...
enum  Write_mps { wm_all, wm_ask, wm_none }
 Write lps as MPS file. More...


Detailed Description

Global properties.

This file contains global properties shared by all components of Lurupa. It contains possible return values and parameters of methods as enums or defines for enhanced readibility as well as string arrays with textual descriptions of some of these for displaying.

Author:
Christian Keil
Id
globals.h 533 2008-06-12 20:08:12Z keil

Enumeration Type Documentation

Bound status

The possible status values of a bound computation.

Enumerator:
bs_verified  Bound successfully computed
bs_priminf  Bound successfully computed; problem is verified to be infeasible
bs_dualinf  Bound successfully computed; problem is verified to be unbounded
bs_orginf  Bound not computed; the lp-solver claims infeasibility
bs_orgunb  Bound not computed; the lp-solver claims unboundedness
bs_pertinf  Bound not computed; a perturbed problem seems to be infeasible and inflation is not set
bs_noenc  Bound not computed; no enclosure of the solution set of linear system could be found
bs_warn  Bound not computed; the lp-solver gave a warning while solving a perturbed problem
bs_rank  Bound not computed; the equation matrix has not full rank
bs_iter  Bound not computed; the maximum number of iterations is exceeded
bs_failure  Bound not computed; an unexpected error occured
bs_timeout  Bound not computed; the lp-solver timed out solving a perturbed problem
bs_running  Bound computation in progress

enum Csv_style

CSV style.

The style which is used to save csv files in Report::write_vector and Report::write_matrix

Enumerator:
octave  Octave style; one file (problem_name.csv) with dimension and name as meta information
matlab  Matlab style; all variables in different files without dimension in one directory (problem_name)

Lp-solver status.

The possible status values returned by lp-solvers.

Enumerator:
ss_feasible  Lp-solver judges model to be feasible
ss_unbounded  Lp-solver judges model to be unbounded
ss_infeasible  Lp-solver judges model to be infeasible
ss_failure  Lp-solver returned from solving with a failure
ss_timeout  Lp-solver timed out solving
ss_unknown  Lp-solver status not yet known

enum Write_mps

Write lps as MPS file.

Which intermediate lps are written as MPS files to disk.

Enumerator:
wm_all  All intermediate lps.
wm_ask  Ask for all intermediate lps.
wm_none  No intermedate lp.


Variable Documentation

const char* bound_status_string[] [static]

Initial value:

 {
  "ok",
  "primal infeasible",
  "dual infeasible",
  "lp-solver infeasible",
  "lp-solver unbounded",
  "perturbed lp infeasible",
  "no ls enclosure",
  "solver warning",
  "rank deficiency",
  "iteration limit reached",
  "solver failure",
  "solver timeout",
  "running"
}
Bound status strings

Status string array converting Bound_status values to real text for displaying.

Referenced by print_bound_stats(), report_dual(), report_primal(), write_csv_table(), and write_latex_table().

const char* solver_status_string[] [static]

Initial value:

 {
  "feasible",
  "unbounded",
  "infeasible",
  "failure",
  "timeout",
  "unknown"
}
Lp-solver status strings.

Status string array converting Solver_status values to real text for displaying.

Referenced by process_solving_status(), write_csv_table(), and write_latex_table().


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