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

General optimization routines. More...

Go to the source code of this file.

Typedefs

typedef struct aa_opt_cx * aa_opt_gmcreate_fun (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)
 

Enumerations

enum  aa_opt_rel_type { AA_OPT_REL_EQ, AA_OPT_REL_LEQ, AA_OPT_REL_GEQ }
 
enum  aa_opt_direction { AA_OPT_MAXIMIZE, AA_OPT_MINIMIZE }
 
enum  aa_opt_type { AA_OPT_CONTINUOUS, AA_OPT_BINARY, AA_OPT_INTEGER }
 

Functions

AA_API int aa_opt_solve (struct aa_opt_cx *cx, size_t n, double *x)
 
AA_API int aa_opt_destroy (struct aa_opt_cx *cx)
 
AA_API int aa_opt_set_direction (struct aa_opt_cx *cx, enum aa_opt_direction)
 
AA_API int aa_opt_set_quad_obj_crs (struct aa_opt_cx *cx, size_t n, const double *Q_values, int *Q_cols, int *Q_row_ptr)
 
AA_API int aa_opt_set_type (struct aa_opt_cx *cx, size_t i, enum aa_opt_type type)
 
AA_API struct aa_opt_cx * aa_opt_lpsolve_gmcreate (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)
 
AA_API struct aa_opt_cx * aa_opt_clp_gmcreate (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)
 
AA_API struct aa_opt_cx * aa_opt_glpk_gmcreate (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)
 
AA_API struct aa_opt_cx * aa_opt_lpsolve_crscreate (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)
 
AA_API struct aa_opt_cx * aa_opt_clp_crscreate (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)
 
AA_API struct aa_opt_cx * aa_opt_glpk_crscreate (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)
 

Detailed Description

General optimization routines.

Definition in file opt.h.