40 #ifndef AMINO_OPT_LP_H
41 #define AMINO_OPT_LP_H
51 typedef int aa_opt_lp_solver (
53 const double *A,
size_t ldA,
54 const double *b_lower,
const double *b_upper,
56 const double *x_lower,
const double *x_upper,
60 AA_API int aa_opt_lp_lpsolve (
62 const double *A,
size_t ldA,
63 const double *b_lower,
const double *b_upper,
65 const double *x_lower,
const double *x_upper,
71 const double *A,
size_t ldA,
72 const double *b_lower,
const double *b_upper,
74 const double *x_lower,
const double *x_upper,
77 AA_API int aa_opt_lp_glpk (
79 const double *A,
size_t ldA,
80 const double *b_lower,
const double *b_upper,
82 const double *x_lower,
const double *x_upper,
85 typedef int aa_opt_lp_crs_solver (
87 const double *A_values,
int *A_cols,
int *A_row_ptr,
88 const double *b_lower,
const double *b_upper,
90 const double *x_lower,
const double *x_upper,
94 AA_API int aa_opt_lp_crs_lpsolve (
96 const double *A_values,
int *A_cols,
int *A_row_ptr,
97 const double *b_lower,
const double *b_upper,
99 const double *x_lower,
const double *x_upper,
102 AA_API int aa_opt_lp_crs_clp (
104 const double *A_values,
int *A_cols,
int *A_row_ptr,
105 const double *b_lower,
const double *b_upper,
107 const double *x_lower,
const double *x_upper,
110 AA_API int aa_opt_lp_crs_glpk (
112 const double *A_values,
int *A_cols,
int *A_row_ptr,
113 const double *b_lower,
const double *b_upper,
115 const double *x_lower,
const double *x_upper,
General optimization routines.
#define AA_API
calling and name mangling convention for functions