Hello,
I am trying to do optimization with nonlinear constraints where an algebraic representation of the function is unknown (every time it calls the function, it triggers a physical process with the given input and measurement of this process). I am trying to use the following two functions in C++, as I don't think I can get a Jacobian in this case:
void minnlcsetnlc(minnlcstate &state, const ae_int_t nlec, const ae_int_t nlic, const xparams _xparams = alglib::xdefault);
and
void minnlcoptimize(minnlcstate &state, void (*fvec)(const real_1d_array &x, real_1d_array &fi, void *ptr), void (*rep)(const real_1d_array &x, double func, void *ptr) = NULL, void *ptr = NULL, const xparams _xparams = alglib::xdefault);
However, I do not see where I can put in my nonlinear constraints in minnlcsetnlc, or anywhere in minnlcoptimize for a callback for the nonlinear constraints. How do I specify the nonlinear constraints?
Thanks for your help
|