53 enum aa_opt_rel_type {
60 enum aa_opt_direction {
76 aa_opt_solve(
struct aa_opt_cx *cx,
size_t n,
double *x );
80 aa_opt_destroy(
struct aa_opt_cx *cx );
83 aa_opt_set_direction(
struct aa_opt_cx *cx,
enum aa_opt_direction );
86 aa_opt_set_quad_obj_crs(
struct aa_opt_cx *cx,
size_t n,
87 const double *Q_values,
int *Q_cols,
int *Q_row_ptr );
91 aa_opt_set_type(
struct aa_opt_cx *cx,
size_t i,
enum aa_opt_type type );
93 typedef struct aa_opt_cx*
96 const double *A,
size_t ldA,
97 const double *b_lower,
const double *b_upper,
99 const double *x_lower,
const double *x_upper
102 AA_API struct aa_opt_cx* aa_opt_lpsolve_gmcreate (
104 const double *A,
size_t ldA,
105 const double *b_lower,
const double *b_upper,
107 const double *x_lower,
const double *x_upper
111 AA_API struct aa_opt_cx* aa_opt_clp_gmcreate (
113 const double *A,
size_t ldA,
114 const double *b_lower,
const double *b_upper,
116 const double *x_lower,
const double *x_upper
120 AA_API struct aa_opt_cx* aa_opt_glpk_gmcreate (
122 const double *A,
size_t ldA,
123 const double *b_lower,
const double *b_upper,
125 const double *x_lower,
const double *x_upper
128 AA_API struct aa_opt_cx* aa_opt_lpsolve_crscreate (
130 const double *A_values,
int *A_cols,
int *A_row_ptr,
131 const double *b_lower,
const double *b_upper,
133 const double *x_lower,
const double *x_upper );
136 AA_API struct aa_opt_cx* aa_opt_clp_crscreate (
138 const double *A_values,
int *A_cols,
int *A_row_ptr,
139 const double *b_lower,
const double *b_upper,
141 const double *x_lower,
const double *x_upper );
144 AA_API struct aa_opt_cx* aa_opt_glpk_crscreate (
146 const double *A_values,
int *A_cols,
int *A_row_ptr,
147 const double *b_lower,
const double *b_upper,
149 const double *x_lower,
const double *x_upper );
#define AA_API
calling and name mangling convention for functions