amino  1.0-beta2
Lightweight Robot Utility Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
lp.h File Reference

Linear optimization. More...

#include "opt.h"

Go to the source code of this file.

Typedefs

typedef int aa_opt_lp_solver (size_t m, size_t n, const double *A, size_t ldA, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Function type to solve a general-matrix linear program.
 
typedef int aa_opt_lp_crs_solver (size_t m, size_t n, const double *A_values, int *A_cols, int *A_row_ptr, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Function type to solve a compressed-row-storage linear program.
 

Functions

AA_API int aa_opt_lp_lpsolve (size_t m, size_t n, const double *A, size_t ldA, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Solve general-matrix linear program with LP-Solve.
 
AA_API int aa_opt_lp_clp (size_t m, size_t n, const double *A, size_t ldA, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Solve general-matrix linear program with CLP.
 
AA_API int aa_opt_lp_glpk (size_t m, size_t n, const double *A, size_t ldA, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Solve general-matrix linear program with GLPK.
 
AA_API int aa_opt_lp_crs_lpsolve (size_t m, size_t n, const double *A_values, int *A_cols, int *A_row_ptr, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Solve compressed-row-storage linear program with LP-Solve.
 
AA_API int aa_opt_lp_crs_clp (size_t m, size_t n, const double *A_values, int *A_cols, int *A_row_ptr, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Solve compressed-row-storage linear program with CLP.
 
AA_API int aa_opt_lp_crs_glpk (size_t m, size_t n, const double *A_values, int *A_cols, int *A_row_ptr, const double *b_lower, const double *b_upper, const double *c, const double *x_lower, const double *x_upper, double *x)
 Solve compressed-row-storage linear program with GLPK.
 

Detailed Description

Linear optimization.

Definition in file lp.h.