Skip to content

Commit

Permalink
240131.005332.HKT update prima.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zaikunzhang committed Jan 30, 2024
1 parent 6aefe01 commit e91e4e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion c/include/prima/prima.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ int prima_init_options(prima_options_t *options);


// Structure to hold the problem
// FIXME: What about the default values of xl, xu, m_ineq, Aineq, bineq, m_eq, Aeq, and beq?
typedef struct {

// dimension of the problem
Expand Down Expand Up @@ -180,7 +181,7 @@ typedef struct {
double *Aeq;
double *beq;

// number of nonlinear constraints for COBYLA; default: 0
// number of nonlinear constraints (COBYLA only); default: 0
int m_nlcon;

// initial objective function value and constraint values (COBYLA only)
Expand Down

0 comments on commit e91e4e8

Please sign in to comment.