cLurupa.h File Reference

Declaration of C wrapper for Lurupa. More...

#include <lurupa/globals.h>
#include <stdio.h>

Include dependency graph for cLurupa.h:

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

Go to the source code of this file.

Typedefs

C version of variable types
These definitions are used when including cLurupa.h in a C source.

typedef char BOOL
typedef enum Bound_status BOUND_STATUS
typedef void * PLP
typedef enum Solver_status SOLVER_STATUS

Functions

void clu_cleanup ()
 Cleanup library wrapper.
double clu_get_alpha ()
 Get algorithm parameter alpha.
const char * clu_get_core_version ()
 Get core version string.
double clu_get_eta ()
 Get algorithm parameter eta.
char * clu_get_lp_name (PLP Lp)
 Get linear program's name.
const char * clu_get_module_version ()
 Get solver module version.
double clu_get_solver_eps ()
 Get solver's accuracy.
void clu_init ()
 Initialize library wrapper.
BOOL clu_is_inflate ()
 Is inflation set.
BOOL clu_is_lp_maximize (PLP Lp)
 Return whether linear program is maximized.
BOUND_STATUS clu_lower_bound (PLP Lp, double *bound, int *iterations)
 Compute lower bound.
void clu_print_module_options ()
 Print options supported by module.
PLP clu_read_lp (FILE *in, const double relative_interval_radius)
 Read linear program.
void clu_set_alpha (double alpha)
 Set algorithm parameter alpha.
void clu_set_eta (double eta)
 Set algorithm parameter eta.
void clu_set_inflate (BOOL inflate)
 Set inflation.
BOOL clu_set_lp (PLP *lp, const double relative_interval_radius)
 Set linear program.
BOOL clu_set_module (char *module_path)
 Set solver module.
BOOL clu_set_module_options (PLP Lp, int argc, char *argv[])
 Set solver options.
BOOL clu_set_solution (PLP Lp, void *p)
 Set a linear program's feasibility.
BOOL clu_solve_lp (double *optimal_value, SOLVER_STATUS *status)
 Solve linear program.
BOUND_STATUS clu_upper_bound (PLP Lp, double *bound, int *iterations)
 Compute upper bound.


Detailed Description

Declaration of C wrapper for Lurupa.

This is work in progess.

Author:
Christian Keil
Id
cLurupa.h 542 2008-06-26 12:44:51Z keil

Function Documentation

void clu_cleanup (  ) 

Cleanup library wrapper.

Cleanup the library wrapper.

double clu_get_alpha (  ) 

Get algorithm parameter alpha.

Get the algorithm parameter alpha.

See also:
Lurupa::get_alpha

References clu_init(), and Lurupa::get_alpha().

const char* clu_get_core_version (  ) 

Get core version string.

Get the core version string.

See also:
Lurupa::get_core_version

References clu_init(), and Lurupa::get_core_version().

double clu_get_eta (  ) 

Get algorithm parameter eta.

Get the algorithm parameter eta.

See also:
Lurupa::get_eta

References clu_init(), and Lurupa::get_eta().

char* clu_get_lp_name ( PLP  lp  ) 

Get linear program's name.

Get the linear program's name.

See also:
Lurupa::get_lp_name

References clu_init().

const char* clu_get_module_version (  ) 

Get solver module version.

Get the solver module version.

See also:
Lurupa::get_module_version

References clu_init(), and Lurupa::get_module_version().

double clu_get_solver_eps (  ) 

Get solver's accuracy.

Get solver accuracy.

See also:
Lurupa::get_solver_eps

References clu_init(), and Lurupa::get_solver_eps().

void clu_init (  ) 

BOOL clu_is_inflate (  ) 

Is inflation set.

Get the algorithm flag inflate.

See also:
Lurupa::is_inflate

References clu_init(), and Lurupa::is_inflate().

BOOL clu_is_lp_maximize ( PLP  lp  ) 

Return whether linear program is maximized.

Return whether the linear program is maximized.

See also:
Lurupa::is_lp_maximize

References clu_init().

BOUND_STATUS clu_lower_bound ( PLP  lp,
double *  bound,
int *  iterations 
)

Compute lower bound.

Compute the lower bound.

See also:
Lurupa::lower_bound

References clu_init(), and Lurupa::lower_bound().

void clu_print_module_options (  ) 

Print options supported by module.

Print the options supported by the module.

See also:
Lurupa::print_module_options

References clu_init(), and Lurupa::print_module_options().

PLP clu_read_lp ( FILE *  in,
const double  relative_interval_radius 
)

Read linear program.

Read a linear program.

See also:
Lurupa::read_lp

References clu_init(), and Lurupa::read_lp().

void clu_set_alpha ( double  alpha  ) 

Set algorithm parameter alpha.

Set the algorithm parameter alpha.

See also:
Lurupa::set_alpha

References clu_init(), and Lurupa::set_alpha().

void clu_set_eta ( double  eta  ) 

Set algorithm parameter eta.

Set the algorithm parameter eta.

See also:
Lurupa::set_eta

References clu_init(), and Lurupa::set_eta().

void clu_set_inflate ( BOOL  inflate  ) 

Set inflation.

Set the algorithm flag inflation.

See also:
Lurupa::set_inflate

References clu_init(), and Lurupa::set_inflate().

BOOL clu_set_module ( char *  module_path  ) 

Set solver module.

Set the solver module.

See also:
Lurupa::set_module

References clu_init(), and Lurupa::set_module().

BOOL clu_set_module_options ( PLP  lp,
int  argc,
char *  argv[] 
)

Set solver options.

Set module options.

See also:
Lurupa::set_module_options

References clu_init(), and Lurupa::set_module_options().

BOUND_STATUS clu_upper_bound ( PLP  lp,
double *  bound,
int *  iterations 
)

Compute upper bound.

Compute the upper bound.

See also:
Lurupa::upper_bound

References clu_init(), and Lurupa::upper_bound().


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