optimization.h
Go to the documentation of this file.
76 {
86 {
97 {
129 {
172 {
185 {
233 {
291 {
298 {
304 {
343 {
350 {
370 {
436 {
443 {
532 {
547 {
554 {
564 {
609 {
617 {
692 {
701 {
770 {
777 {
799 {
882 {
893 {
940 {
947 {
981 {
1060 {
1072 }
1080 {
1196 };
1272 {
1282 };
1378 {
1388 };
1460 {
1470 };
1538 };
1556 };
1650 };
1730 {
1804 };
1806 {
1952 void minlbfgscreate(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlbfgsstate &state);
2003 void minlbfgscreatef(const ae_int_t n, const ae_int_t m, const real_1d_array &x, const double diffstep, minlbfgsstate &state);
2004 void minlbfgscreatef(const ae_int_t m, const real_1d_array &x, const double diffstep, minlbfgsstate &state);
2039 void minlbfgssetcond(const minlbfgsstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
2152 void minlbfgssetpreccholesky(const minlbfgsstate &state, const real_2d_array &p, const bool isupper);
2506 void mincgcreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, mincgstate &state);
2542 void mincgsetcond(const mincgstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
3052 void minbleiccreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minbleicstate &state);
3092 void minbleicsetbc(const minbleicstate &state, const real_1d_array &bndl, const real_1d_array &bndu);
3131 void minbleicsetlc(const minbleicstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k);
3132 void minbleicsetlc(const minbleicstate &state, const real_2d_array &c, const integer_1d_array &ct);
3171 void minbleicsetcond(const minbleicstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
3605 void minqpsetquadraticterm(const minqpstate &state, const real_2d_array &a, const bool isupper);
3645 void minqpsetquadratictermsparse(const minqpstate &state, const sparsematrix &a, const bool isupper);
3810 void minqpsetalgobleic(const minqpstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
3889 void minqpsetalgodenseaul(const minqpstate &state, const double epsx, const double rho, const ae_int_t itscnt);
3992 void minqpsetalgoquickqp(const minqpstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxouterits, const bool usenewton);
4021 void minqpsetbc(const minqpstate &state, const real_1d_array &bndl, const real_1d_array &bndu);
4070 void minqpsetlc(const minqpstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k);
4128 void minqpsetlcsparse(const minqpstate &state, const sparsematrix &c, const integer_1d_array &ct, const ae_int_t k);
4198 void minqpsetlcmixed(const minqpstate &state, const real_2d_array &densec, const integer_1d_array &densect, const ae_int_t densek, const sparsematrix &sparsec, const integer_1d_array &sparsect, const ae_int_t sparsek);
4438 void minnlccreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minnlcstate &state);
4473 void minnlcsetbc(const minnlcstate &state, const real_1d_array &bndl, const real_1d_array &bndu);
4511 void minnlcsetlc(const minnlcstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k);
4512 void minnlcsetlc(const minnlcstate &state, const real_2d_array &c, const integer_1d_array &ct);
4599 void minnlcsetcond(const minnlcstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
5306 void minbccreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minbcstate &state);
5337 void minbcsetbc(const minbcstate &state, const real_1d_array &bndl, const real_1d_array &bndu);
5376 void minbcsetcond(const minbcstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
5854 void minnscreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minnsstate &state);
5885 void minnssetbc(const minnsstate &state, const real_1d_array &bndl, const real_1d_array &bndu);
5927 void minnssetlc(const minnsstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k);
6317 void minlbfgssetcholeskypreconditioner(const minlbfgsstate &state, const real_2d_array &p, const bool isupper);
6347 void minasacreate(const ae_int_t n, const real_1d_array &x, const real_1d_array &bndl, const real_1d_array &bndu, minasastate &state);
6348 void minasacreate(const real_1d_array &x, const real_1d_array &bndl, const real_1d_array &bndu, minasastate &state);
6358 void minasasetcond(const minasastate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits);
6449 void minasarestartfrom(const minasastate &state, const real_1d_array &x, const real_1d_array &bndl, const real_1d_array &bndu);
6512 void minlmcreatevj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state);
6577 void minlmcreatev(const ae_int_t n, const ae_int_t m, const real_1d_array &x, const double diffstep, minlmstate &state);
6578 void minlmcreatev(const ae_int_t m, const real_1d_array &x, const double diffstep, minlmstate &state);
6778 void minlmsetbc(const minlmstate &state, const real_1d_array &bndl, const real_1d_array &bndu);
6826 void minlmsetlc(const minlmstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k);
6936 void (*hess)(const real_1d_array &x, double &func, real_1d_array &grad, real_2d_array &hess, void *ptr),
7051 void minlmcreatevgj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state);
7063 void minlmcreatefgj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state);
7075 void minlmcreatefj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state);
ae_int_t postprocessboundedstep(ae_vector *x, ae_vector *xprev, ae_vector *bndl, ae_vector *havebndl, ae_vector *bndu, ae_vector *havebndu, ae_int_t nmain, ae_int_t nslack, ae_int_t variabletofreeze, double valuetofreeze, double steptaken, double maxsteplen, ae_state *_state)
alglib_impl::minqpreport * p_struct
Definition: optimization.h:1463
void qqpoptimize(convexquadraticmodel *cqmac, sparsematrix *sparseac, ae_matrix *denseac, ae_int_t akind, ae_bool isupper, ae_vector *bc, ae_vector *bndlc, ae_vector *bnduc, ae_vector *sc, ae_vector *xoriginc, ae_int_t nc, ae_matrix *cleicc, ae_int_t nec, ae_int_t nic, qqpsettings *settings, qqpbuffers *sstate, ae_vector *xs, ae_int_t *terminationtype, ae_state *_state)
alglib_impl::minbcreport * p_struct
Definition: optimization.h:1651
void cqmsetq(convexquadraticmodel *s, ae_matrix *q, ae_vector *r, ae_int_t k, double theta, ae_state *_state)
virtual ~minqpstate()
void minqpsetalgodenseaul(const minqpstate &state, const double epsx, const double rho, const ae_int_t itscnt)
double cqmeval(convexquadraticmodel *s, ae_vector *x, ae_state *_state)
minbcstate()
void sasimmediateactivation(sactiveset *state, ae_int_t cidx, double cval, ae_state *_state)
bool minbciteration(const minbcstate &state)
_minqpstate_owner & operator=(const _minqpstate_owner &rhs)
Definition: optimization.h:788
minnsstate(const minnsstate &rhs)
void _minlbfgsreport_init(void *_p, ae_state *_state)
void minlbfgsrequesttermination(const minlbfgsstate &state)
void minqpsetlineartermfast(minqpstate *state, ae_vector *b, ae_state *_state)
minlbfgsreport(const minlbfgsreport &rhs)
void minlmoptimize(minlmstate &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)
void _minbcreport_destroy(void *_p)
void minbcoptimize(minbcstate &state, void(*func)(const real_1d_array &x, double &func, void *ptr), void(*rep)(const real_1d_array &x, double func, void *ptr)=NULL, void *ptr=NULL)
void cqmevalx(convexquadraticmodel *s, ae_vector *x, double *r, double *noise, ae_state *_state)
void mincgsetprecscale(const mincgstate &state)
ae_int_t sasmoveto(sactiveset *state, ae_vector *xn, ae_bool needact, ae_int_t cidx, double cval, ae_state *_state)
Definition: optimization.h:104
void _qpcholeskybuffers_clear(void *_p)
minnlcreport(const minnlcreport &rhs)
void cqminit(ae_int_t n, convexquadraticmodel *s, ae_state *_state)
Definition: optimization.h:572
void minasarestartfrom(minasastate *state, ae_vector *x, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
void minbleicresultsbuf(const minbleicstate &state, real_1d_array &x, minbleicreport &rep)
void cqmsetactiveset(convexquadraticmodel *s, ae_vector *x, ae_vector *activeset, ae_state *_state)
void minlbfgssetstpmax(minlbfgsstate *state, double stpmax, ae_state *_state)
ae_bool sasstartoptimization(sactiveset *state, ae_vector *x, ae_state *_state)
void _qqpsettings_destroy(void *_p)
void _precbuflowrank_init_copy(void *_dst, void *_src, ae_state *_state)
void minnssetcond(const minnsstate &state, const double epsx, const ae_int_t maxits)
void sassetbc(sactiveset *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
void minnssetcond(minnsstate *state, double epsx, ae_int_t maxits, ae_state *_state)
void minbccreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minbcstate &state)
void minbcresultsbuf(minbcstate *state, ae_vector *x, minbcreport *rep, ae_state *_state)
Definition: optimization.h:1621
void _mincgreport_init(void *_p, ae_state *_state)
Definition: optimization.h:322
Definition: optimization.h:1428
void qpcholeskyoptimize(convexquadraticmodel *a, double anorm, ae_vector *b, ae_vector *bndl, ae_vector *bndu, ae_vector *s, ae_vector *xorigin, ae_int_t n, ae_matrix *cleic, ae_int_t nec, ae_int_t nic, qpcholeskybuffers *sstate, ae_vector *xsc, ae_int_t *terminationtype, ae_state *_state)
void _qpdenseaulsettings_init_copy(void *_dst, void *_src, ae_state *_state)
void minbleicsetbc(const minbleicstate &state, const real_1d_array &bndl, const real_1d_array &bndu)
void sasconstraineddescentprec(sactiveset *state, ae_vector *g, ae_vector *d, ae_state *_state)
ae_bool cqmconstrainedoptimum(convexquadraticmodel *s, ae_vector *x, ae_state *_state)
Definition: optimization.h:550
void _minqpstate_init(void *_p, ae_state *_state)
void minnlccreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minnlcstate &state)
void minnscreate(const ae_int_t n, const real_1d_array &x, minnsstate &state)
alglib_impl::minnlcstate * p_struct
Definition: optimization.h:1473
virtual ~_minlbfgsreport_owner()
Definition: optimization.h:582
void minlbfgssetdefaultpreconditioner(const minlbfgsstate &state)
void minnlcsetprecinexact(minnlcstate *state, ae_state *_state)
void snnlsdropnnc(snnlssolver *s, ae_int_t idx, ae_state *_state)
void minbcsetbc(const minbcstate &state, const real_1d_array &bndl, const real_1d_array &bndu)
void minnlcsetprecexactlowrank(minnlcstate *state, ae_int_t updatefreq, ae_state *_state)
alglib_impl::minnlcreport * c_ptr()
virtual ~minbleicstate()
Definition: optimization.h:1284
void cqmgeta(convexquadraticmodel *s, ae_matrix *a, ae_state *_state)
void _qpbleicsettings_destroy(void *_p)
Definition: optimization.h:1709
minnlcreport()
void minbleicsetcond(const minbleicstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void mincgcreatef(ae_int_t n, ae_vector *x, double diffstep, mincgstate *state, ae_state *_state)
void minbleicrestartfrom(minbleicstate *state, ae_vector *x, ae_state *_state)
void minlbfgsrequesttermination(minlbfgsstate *state, ae_state *_state)
void minbleicsetlc(const minbleicstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k)
Definition: optimization.h:1390
Definition: optimization.h:710
void projectgradientintobc(ae_vector *x, ae_vector *g, ae_vector *bl, ae_vector *havebl, ae_vector *bu, ae_vector *havebu, ae_int_t nmain, ae_int_t nslack, ae_state *_state)
void minnssetnlc(minnsstate *state, ae_int_t nlec, ae_int_t nlic, ae_state *_state)
void minlmcreatefj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state)
void minasasetcond(minasastate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
Definition: optimization.h:911
void minqpsetlc(const minqpstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k)
void minnlcequalitypenaltyfunction(double alpha, double *f, double *df, double *d2f, ae_state *_state)
ae_bool minnsiteration(minnsstate *state, ae_state *_state)
Definition: optimization.h:1609
void minbcsetscale(minbcstate *state, ae_vector *s, ae_state *_state)
void mincgsetgradientcheck(const mincgstate &state, const double teststep)
Definition: optimization.h:795
void _minnsqp_clear(void *_p)
void minqpsetalgoquickqp(minqpstate *state, double epsg, double epsf, double epsx, ae_int_t maxouterits, ae_bool usenewton, ae_state *_state)
_mincgreport_owner()
void minlmcreatev(const ae_int_t n, const ae_int_t m, const real_1d_array &x, const double diffstep, minlmstate &state)
void mincgoptimize(mincgstate &state, void(*func)(const real_1d_array &x, double &func, void *ptr), void(*rep)(const real_1d_array &x, double func, void *ptr)=NULL, void *ptr=NULL)
void minlbfgssetprecdefault(minlbfgsstate *state, ae_state *_state)
minnsreport(const minnsreport &rhs)
void minbleicoptimize(minbleicstate &state, void(*func)(const real_1d_array &x, double &func, void *ptr), void(*rep)(const real_1d_array &x, double func, void *ptr)=NULL, void *ptr=NULL)
void snnlsinit(ae_int_t nsmax, ae_int_t ndmax, ae_int_t nrmax, snnlssolver *s, ae_state *_state)
void minbcrequesttermination(const minbcstate &state)
void minlbfgssetscale(const minlbfgsstate &state, const real_1d_array &s)
void minlmsetgradientcheck(const minlmstate &state, const double teststep)
void _mincgstate_destroy(void *_p)
_minlmreport_owner()
void filterdirection(ae_vector *d, ae_vector *x, ae_vector *bndl, ae_vector *havebndl, ae_vector *bndu, ae_vector *havebndu, ae_vector *s, ae_int_t nmain, ae_int_t nslack, double droptol, ae_state *_state)
void minnsoptimize(minnsstate &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)
void minlbfgssetstpmax(const minlbfgsstate &state, const double stpmax)
ae_bool minlmiteration(minlmstate *state, ae_state *_state)
void minbleicemergencytermination(minbleicstate *state, ae_state *_state)
void _convexquadraticmodel_init(void *_p, ae_state *_state)
void _mincgreport_destroy(void *_p)
void _minqpstate_init_copy(void *_dst, void *_src, ae_state *_state)
void minbleicsetdrep(minbleicstate *state, ae_bool needdrep, ae_state *_state)
void mincgresults(const mincgstate &state, real_1d_array &x, mincgreport &rep)
void minlbfgsrestartfrom(const minlbfgsstate &state, const real_1d_array &x)
void _minbleicstate_init_copy(void *_dst, void *_src, ae_state *_state)
void minlbfgssetprecscale(const minlbfgsstate &state)
Definition: optimization.h:1730
void mincgsetstpmax(mincgstate *state, double stpmax, ae_state *_state)
void minlbfgssetprecrankklbfgsfast(minlbfgsstate *state, ae_vector *d, ae_vector *c, ae_matrix *w, ae_int_t cnt, ae_state *_state)
virtual ~minnsreport()
void mincgresultsbuf(mincgstate *state, ae_vector *x, mincgreport *rep, ae_state *_state)
void trimprepare(double f, double *threshold, ae_state *_state)
void minasaresults(minasastate *state, ae_vector *x, minasareport *rep, ae_state *_state)
void sasreactivateconstraintsprec(sactiveset *state, ae_vector *gc, ae_state *_state)
void _minbleicstate_init(void *_p, ae_state *_state)
alglib_impl::minbleicstate * p_struct
Definition: optimization.h:1285
bool minlmiteration(const minlmstate &state)
alglib_impl::minbcstate * c_ptr()
alglib_impl::mincgstate * p_struct
Definition: optimization.h:1199
void sasstopoptimization(sactiveset *state, ae_state *_state)
alglib_impl::minnlcreport * p_struct
Definition: optimization.h:1544
void _mincgreport_init_copy(void *_dst, void *_src, ae_state *_state)
Definition: optimization.h:1697
alglib_impl::minasastate * c_ptr()
void minqpresults(const minqpstate &state, real_1d_array &x, minqpreport &rep)
void minnssetlc(const minnsstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k)
void _minnlcstate_clear(void *_p)
void _mincgreport_clear(void *_p)
void minlmsetbc(minlmstate *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
void minnlccreate(const ae_int_t n, const real_1d_array &x, minnlcstate &state)
void minlmrequesttermination(const minlmstate &state)
virtual ~_minqpreport_owner()
void minasasetxrep(minasastate *state, ae_bool needxrep, ae_state *_state)
void minnssetalgoags(const minnsstate &state, const double radius, const double penalty)
void mincgrequesttermination(const mincgstate &state)
void minnlcresults(minnlcstate *state, ae_vector *x, minnlcreport *rep, ae_state *_state)
void minlmcreatefj(ae_int_t n, ae_int_t m, ae_vector *x, minlmstate *state, ae_state *_state)
void _qqpbuffers_clear(void *_p)
void applylowrankpreconditioner(ae_vector *s, precbuflowrank *buf, ae_state *_state)
void minlmrestartfrom(const minlmstate &state, const real_1d_array &x)
void _qpdenseaulbuffers_init_copy(void *_dst, void *_src, ae_state *_state)
void _qpdenseaulsettings_init(void *_p, ae_state *_state)
void minbcsetprecdiag(const minbcstate &state, const real_1d_array &d)
void _minnlcstate_init_copy(void *_dst, void *_src, ae_state *_state)
void minqpsetscale(const minqpstate &state, const real_1d_array &s)
_minnlcstate_owner & operator=(const _minnlcstate_owner &rhs)
void minnlcsetscale(const minnlcstate &state, const real_1d_array &s)
void minlbfgsresults(const minlbfgsstate &state, real_1d_array &x, minlbfgsreport &rep)
void minqpsetstartingpointfast(minqpstate *state, ae_vector *x, ae_state *_state)
void sasinit(ae_int_t n, sactiveset *s, ae_state *_state)
alglib_impl::minlbfgsstate * p_struct
Definition: optimization.h:1107
void _minqpreport_clear(void *_p)
void minlmresultsbuf(minlmstate *state, ae_vector *x, minlmreport *rep, ae_state *_state)
void minbleicsetbarrierdecay(const minbleicstate &state, const double mudecay)
void _qpcholeskysettings_clear(void *_p)
Definition: optimization.h:1806
void mincgsetgradientcheck(mincgstate *state, double teststep, ae_state *_state)
void _sactiveset_init_copy(void *_dst, void *_src, ae_state *_state)
void qpbleicoptimize(convexquadraticmodel *a, sparsematrix *sparsea, ae_int_t akind, ae_bool sparseaupper, double absasum, double absasum2, ae_vector *b, ae_vector *bndl, ae_vector *bndu, ae_vector *s, ae_vector *xorigin, ae_int_t n, ae_matrix *cleic, ae_int_t nec, ae_int_t nic, qpbleicsettings *settings, qpbleicbuffers *sstate, ae_bool *firstcall, ae_vector *xs, ae_int_t *terminationtype, ae_state *_state)
void minnssetbc(minnsstate *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
void minqpsetbc(minqpstate *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
virtual ~minnlcstate()
void _minnlcreport_destroy(void *_p)
void minbcresultsbuf(const minbcstate &state, real_1d_array &x, minbcreport &rep)
void _snnlssolver_init(void *_p, ae_state *_state)
void minnscreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minnsstate &state)
void _minnsreport_destroy(void *_p)
alglib_impl::mincgstate * c_ptr()
void minasarestartfrom(const minasastate &state, const real_1d_array &x, const real_1d_array &bndl, const real_1d_array &bndu)
minqpreport & operator=(const minqpreport &rhs)
void minbcsetstpmax(minbcstate *state, double stpmax, ae_state *_state)
void minlmsetscale(const minlmstate &state, const real_1d_array &s)
alglib_impl::minnsreport * c_ptr()
void _snnlssolver_clear(void *_p)
_minbcreport_owner & operator=(const _minbcreport_owner &rhs)
void minlmcreatefgh(ae_int_t n, ae_vector *x, minlmstate *state, ae_state *_state)
void minlbfgsoptimize(minlbfgsstate &state, void(*func)(const real_1d_array &x, double &func, void *ptr), void(*rep)(const real_1d_array &x, double func, void *ptr)=NULL, void *ptr=NULL)
ae_bool minbciteration(minbcstate *state, ae_state *_state)
void minqpsetlcsparse(const minqpstate &state, const sparsematrix &c, const integer_1d_array &ct, const ae_int_t k)
void _precbuflbfgs_destroy(void *_p)
_minlmstate_owner()
void minlmsetxrep(minlmstate *state, ae_bool needxrep, ae_state *_state)
void _qqpsettings_init_copy(void *_dst, void *_src, ae_state *_state)
Definition: optimization.h:999
void minqpsetstartingpoint(minqpstate *state, ae_vector *x, ae_state *_state)
alglib_impl::minlbfgsreport * c_ptr()
Definition: optimization.h:1198
void _precbuflowrank_destroy(void *_p)
Definition: optimization.h:1857
void _minasareport_destroy(void *_p)
void _qpcholeskysettings_init(void *_p, ae_state *_state)
void minqpsetquadraticterm(minqpstate *state, ae_matrix *a, ae_bool isupper, ae_state *_state)
minlbfgsstate()
ae_bool mincgiteration(mincgstate *state, ae_state *_state)
minnsstate()
void mincgcreate(ae_int_t n, ae_vector *x, mincgstate *state, ae_state *_state)
double cqmdebugconstrainedevalt(convexquadraticmodel *s, ae_vector *x, ae_state *_state)
void estimateparabolicmodel(double absasum, double absasum2, double mx, double mb, double md, double d1, double d2, ae_int_t *d1est, ae_int_t *d2est, ae_state *_state)
void minbcsetbc(minbcstate *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
void _qpbleicsettings_clear(void *_p)
void minnlcsetcond(const minnlcstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void minbleiccreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, minbleicstate &state)
minasareport & operator=(const minasareport &rhs)
void _qpbleicbuffers_destroy(void *_p)
void minbleicsetstpmax(const minbleicstate &state, const double stpmax)
void minbleicsetbarrierwidth(minbleicstate *state, double mu, ae_state *_state)
_minbleicreport_owner & operator=(const _minbleicreport_owner &rhs)
void minlbfgssetdefaultpreconditioner(minlbfgsstate *state, ae_state *_state)
minbleicreport()
void minbcsetgradientcheck(const minbcstate &state, const double teststep)
void minbleicsetgradientcheck(minbleicstate *state, double teststep, ae_state *_state)
void qpdenseaulloaddefaults(ae_int_t nmain, qpdenseaulsettings *s, ae_state *_state)
void minlmsetstpmax(const minlmstate &state, const double stpmax)
_minnsstate_owner & operator=(const _minnsstate_owner &rhs)
void minnlcsetprecexactrobust(const minnlcstate &state, const ae_int_t updatefreq)
void _minlmreport_clear(void *_p)
Definition: optimization.h:817
alglib_impl::minqpstate * c_ptr()
void qpcholeskyloaddefaults(ae_int_t nmain, qpcholeskysettings *s, ae_state *_state)
void _qqpsettings_clear(void *_p)
alglib_impl::minnsstate * c_ptr()
void minlmsetscale(minlmstate *state, ae_vector *s, ae_state *_state)
alglib_impl::minbcstate * p_struct
Definition: optimization.h:1559
void minnsresults(const minnsstate &state, real_1d_array &x, minnsreport &rep)
Definition: optimization.h:251
virtual ~_minlmstate_owner()
void minnssetscale(const minnsstate &state, const real_1d_array &s)
void _minnsstate_init_copy(void *_dst, void *_src, ae_state *_state)
void _minlmreport_destroy(void *_p)
double mincglastgoodstep(mincgstate *state, ae_state *_state)
_minbcreport_owner()
void minlbfgsresultsbuf(minlbfgsstate *state, ae_vector *x, minlbfgsreport *rep, ae_state *_state)
void _minbleicreport_init_copy(void *_dst, void *_src, ae_state *_state)
double sasscaledconstrainednorm(sactiveset *state, ae_vector *d, ae_state *_state)
minlmstate()
virtual ~_minlmreport_owner()
alglib_impl::minnsreport * p_struct
Definition: optimization.h:1732
void minqpsetscale(minqpstate *state, ae_vector *s, ae_state *_state)
void _qqpbuffers_init(void *_p, ae_state *_state)
mincgreport & operator=(const mincgreport &rhs)
void minqpsetquadratictermsparse(const minqpstate &state, const sparsematrix &a, const bool isupper)
void minbleicresults(const minbleicstate &state, real_1d_array &x, minbleicreport &rep)
minbleicstate()
Definition: optimization.h:309
void _minbcstate_destroy(void *_p)
void minasasetstpmax(const minasastate &state, const double stpmax)
void _minbcstate_init_copy(void *_dst, void *_src, ae_state *_state)
void minnlcresultsbuf(minnlcstate *state, ae_vector *x, minnlcreport *rep, ae_state *_state)
void minqprewritediagonal(minqpstate *state, ae_vector *s, ae_state *_state)
alglib_impl::minbcreport * c_ptr()
void _minlbfgsstate_destroy(void *_p)
virtual ~minnsstate()
ae_bool minnlciteration(minnlcstate *state, ae_state *_state)
void _minnsstate_destroy(void *_p)
void _minasastate_destroy(void *_p)
void minqpsetorigin(minqpstate *state, ae_vector *xorigin, ae_state *_state)
Definition: alglibmisc.h:83
Definition: optimization.h:1546
_minasastate_owner()
_minbleicstate_owner & operator=(const _minbleicstate_owner &rhs)
void _minlbfgsreport_init_copy(void *_dst, void *_src, ae_state *_state)
void minnlcsetlc(const minnlcstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k)
void _minbcstate_init(void *_p, ae_state *_state)
void minbleicrestartfrom(const minbleicstate &state, const real_1d_array &x)
virtual ~_minnsreport_owner()
void minnsresultsbuf(const minnsstate &state, real_1d_array &x, minnsreport &rep)
virtual ~_mincgreport_owner()
_minqpstate_owner()
void mincgsetprecscale(mincgstate *state, ae_state *_state)
virtual ~minasastate()
void minbleicsetxrep(const minbleicstate &state, const bool needxrep)
void minasasetalgorithm(minasastate *state, ae_int_t algotype, ae_state *_state)
void minbleicresults(minbleicstate *state, ae_vector *x, minbleicreport *rep, ae_state *_state)
void minlbfgssetcond(const minlbfgsstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void minqpsetquadraticterm(const minqpstate &state, const real_2d_array &a, const bool isupper)
void minnssetxrep(minnsstate *state, ae_bool needxrep, ae_state *_state)
_minlbfgsstate_owner & operator=(const _minlbfgsstate_owner &rhs)
ae_int_t numberofchangedconstraints(ae_vector *x, ae_vector *xprev, ae_vector *bndl, ae_vector *havebndl, ae_vector *bndu, ae_vector *havebndu, ae_int_t nmain, ae_int_t nslack, ae_state *_state)
minnlcstate & operator=(const minnlcstate &rhs)
void minlbfgssetcholeskypreconditioner(minlbfgsstate *state, ae_matrix *p, ae_bool isupper, ae_state *_state)
void _convexquadraticmodel_destroy(void *_p)
void minbleicsetbarrierdecay(minbleicstate *state, double mudecay, ae_state *_state)
void sasexploredirection(sactiveset *state, ae_vector *d, double *stpmax, ae_int_t *cidx, double *vval, ae_state *_state)
void _minasastate_init_copy(void *_dst, void *_src, ae_state *_state)
void calculatestepbound(ae_vector *x, ae_vector *d, double alpha, ae_vector *bndl, ae_vector *havebndl, ae_vector *bndu, ae_vector *havebndu, ae_int_t nmain, ae_int_t nslack, ae_int_t *variabletofreeze, double *valuetofreeze, double *maxsteplen, ae_state *_state)
Definition: optimization.h:900
void minqpresultsbuf(minqpstate *state, ae_vector *x, minqpreport *rep, ae_state *_state)
minlmreport(const minlmreport &rhs)
minnlcstate(const minnlcstate &rhs)
void mincgsetcond(const mincgstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void mincgsetxrep(const mincgstate &state, const bool needxrep)
void _qpcholeskybuffers_init_copy(void *_dst, void *_src, ae_state *_state)
void minbcsetgradientcheck(minbcstate *state, double teststep, ae_state *_state)
void _minlbfgsreport_destroy(void *_p)
void _qpcholeskybuffers_destroy(void *_p)
virtual ~mincgreport()
void minqpsetorigin(const minqpstate &state, const real_1d_array &xorigin)
void minlmrequesttermination(minlmstate *state, ae_state *_state)
void mincgsetxrep(mincgstate *state, ae_bool needxrep, ae_state *_state)
ae_int_t & inneriterationscount
Definition: optimization.h:1446
void minlmsetacctype(minlmstate *state, ae_int_t acctype, ae_state *_state)
void mincgrequesttermination(mincgstate *state, ae_state *_state)
void qpdenseauloptimize(convexquadraticmodel *a, sparsematrix *sparsea, ae_int_t akind, ae_bool sparseaupper, ae_vector *b, ae_vector *bndl, ae_vector *bndu, ae_vector *s, ae_vector *xorigin, ae_int_t nn, ae_matrix *cleic, ae_int_t dnec, ae_int_t dnic, sparsematrix *scleic, ae_int_t snec, ae_int_t snic, ae_bool renormlc, qpdenseaulsettings *settings, qpdenseaulbuffers *state, ae_vector *xs, ae_int_t *terminationtype, ae_state *_state)
minnlcreport & operator=(const minnlcreport &rhs)
void minlmrestartfrom(minlmstate *state, ae_vector *x, ae_state *_state)
Definition: optimization.h:1337
Definition: optimization.h:1652
void mincgsetprecdefault(const mincgstate &state)
void minlbfgssetscale(minlbfgsstate *state, ae_vector *s, ae_state *_state)
minlmreport()
bool minbleiciteration(const minbleicstate &state)
void mincgcreate(const ae_int_t n, const real_1d_array &x, mincgstate &state)
void minqpsetlcmixed(minqpstate *state, ae_matrix *densec, ae_vector *densect, ae_int_t densek, sparsematrix *sparsec, ae_vector *sparsect, ae_int_t sparsek, ae_state *_state)
void minqpresultsbuf(const minqpstate &state, real_1d_array &x, minqpreport &rep)
void sassetscale(sactiveset *state, ae_vector *s, ae_state *_state)
Definition: optimization.h:1378
void minbleicsetprecdefault(minbleicstate *state, ae_state *_state)
alglib_impl::minasareport * c_ptr()
void minbcsetscale(const minbcstate &state, const real_1d_array &s)
void mincgsetprecdefault(mincgstate *state, ae_state *_state)
virtual ~_mincgstate_owner()
void minnlcsetlc(minnlcstate *state, ae_matrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
minasareport(const minasareport &rhs)
void _minlmstepfinder_clear(void *_p)
void minbcrequesttermination(minbcstate *state, ae_state *_state)
void minbleicresultsbuf(minbleicstate *state, ae_vector *x, minbleicreport *rep, ae_state *_state)
void minbleicsetprecdiag(minbleicstate *state, ae_vector *d, ae_state *_state)
void _minlbfgsreport_clear(void *_p)
_minlbfgsstate_owner()
bool minasaiteration(const minasastate &state)
void _minbcreport_init(void *_p, ae_state *_state)
void minbleicrequesttermination(minbleicstate *state, ae_state *_state)
Definition: ap.h:347
void minnssetalgoags(minnsstate *state, double radius, double penalty, ae_state *_state)
Definition: alglibinternal.h:31
minbleicreport & operator=(const minbleicreport &rhs)
void minlbfgssetgradientcheck(minlbfgsstate *state, double teststep, ae_state *_state)
mincgstate()
void minlmcreatevj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state)
Definition: optimization.h:565
_minbcstate_owner()
Definition: optimization.h:203
void minnlcsetgradientcheck(minnlcstate *state, double teststep, ae_state *_state)
void _minnlcreport_init(void *_p, ae_state *_state)
virtual ~minqpreport()
void minasasetcond(const minasastate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void cqmgradunconstrained(convexquadraticmodel *s, ae_vector *x, ae_vector *g, ae_state *_state)
Definition: optimization.h:635
void _minlbfgsstate_clear(void *_p)
void minbccreate(ae_int_t n, ae_vector *x, minbcstate *state, ae_state *_state)
_minasareport_owner & operator=(const _minasareport_owner &rhs)
Definition: optimization.h:1078
void minlmresults(const minlmstate &state, real_1d_array &x, minlmreport &rep)
void minlmcreatevj(ae_int_t n, ae_int_t m, ae_vector *x, minlmstate *state, ae_state *_state)
void minnlcsetstpmax(minnlcstate *state, double stpmax, ae_state *_state)
void _snnlssolver_destroy(void *_p)
void minnlcrestartfrom(const minnlcstate &state, const real_1d_array &x)
void minnlccreatef(ae_int_t n, ae_vector *x, double diffstep, minnlcstate *state, ae_state *_state)
alglib_impl::minlbfgsstate * c_ptr()
void minlbfgssetcholeskypreconditioner(const minlbfgsstate &state, const real_2d_array &p, const bool isupper)
void minlbfgscreatef(const ae_int_t n, const ae_int_t m, const real_1d_array &x, const double diffstep, minlbfgsstate &state)
void cqmsetb(convexquadraticmodel *s, ae_vector *b, ae_state *_state)
virtual ~minbleicreport()
virtual ~minlmreport()
void _convexquadraticmodel_clear(void *_p)
virtual ~minlbfgsreport()
alglib_impl::minlmreport * p_struct
Definition: optimization.h:1893
void minbcrestartfrom(const minbcstate &state, const real_1d_array &x)
void _minnsqp_init(void *_p, ae_state *_state)
Definition: optimization.h:1349
Definition: optimization.h:461
void sasrebuildbasis(sactiveset *state, ae_state *_state)
void sassetlcx(sactiveset *state, ae_matrix *cleic, ae_int_t nec, ae_int_t nic, ae_state *_state)
void minlbfgssetgradientcheck(const minlbfgsstate &state, const double teststep)
void minasaresultsbuf(const minasastate &state, real_1d_array &x, minasareport &rep)
void trimfunction(double *f, ae_vector *g, ae_int_t n, double threshold, ae_state *_state)
void _minnlcstate_init(void *_p, ae_state *_state)
void minlmcreatevgj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state)
minbcstate & operator=(const minbcstate &rhs)
struct alglib_impl::ae_vector ae_vector
void _minbcreport_clear(void *_p)
void _precbuflowrank_init(void *_p, ae_state *_state)
virtual ~mincgstate()
void _minqpstate_destroy(void *_p)
void _minlmstate_init(void *_p, ae_state *_state)
void minnsresultsbuf(minnsstate *state, ae_vector *x, minnsreport *rep, ae_state *_state)
void cqmscalevector(convexquadraticmodel *s, ae_vector *x, ae_state *_state)
void minbccreatef(ae_int_t n, ae_vector *x, double diffstep, minbcstate *state, ae_state *_state)
void qqploaddefaults(ae_int_t nmain, qqpsettings *s, ae_state *_state)
void minbleicsetbc(minbleicstate *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
void _qpbleicsettings_init(void *_p, ae_state *_state)
virtual ~_minbcreport_owner()
void minbcsetprecdefault(minbcstate *state, ae_state *_state)
minnsreport & operator=(const minnsreport &rhs)
void minlbfgsresultsbuf(const minlbfgsstate &state, real_1d_array &x, minlbfgsreport &rep)
Definition: optimization.h:1186
void minlbfgssetpreccholesky(const minlbfgsstate &state, const real_2d_array &p, const bool isupper)
void minnlcsetnlc(minnlcstate *state, ae_int_t nlec, ae_int_t nlic, ae_state *_state)
double cqmxtadx2(convexquadraticmodel *s, ae_vector *x, ae_state *_state)
void _minlmstate_destroy(void *_p)
ae_bool enforceboundaryconstraints(ae_vector *x, ae_vector *bl, ae_vector *havebl, ae_vector *bu, ae_vector *havebu, ae_int_t nmain, ae_int_t nslack, ae_state *_state)
Definition: linalg.h:52
_minbleicreport_owner()
Definition: ap.h:1207
ae_int_t & outeriterationscount
Definition: optimization.h:1366
void minnlcsetbc(minnlcstate *state, ae_vector *bndl, ae_vector *bndu, ae_state *_state)
Definition: optimization.h:94
minbcreport & operator=(const minbcreport &rhs)
Definition: optimization.h:1761
void sasconstraineddirectionprec(sactiveset *state, ae_vector *d, ae_state *_state)
void minqpsetalgocholesky(minqpstate *state, ae_state *_state)
void minlbfgscreate(ae_int_t n, ae_int_t m, ae_vector *x, minlbfgsstate *state, ae_state *_state)
minbcstate(const minbcstate &rhs)
virtual ~minnlcreport()
void minlbfgsresults(minlbfgsstate *state, ae_vector *x, minlbfgsreport *rep, ae_state *_state)
void minnssetxrep(const minnsstate &state, const bool needxrep)
minnsreport()
minbcreport(const minbcreport &rhs)
ae_bool minasaiteration(minasastate *state, ae_state *_state)
void _minnsstate_clear(void *_p)
void minnlcsetnlc(const minnlcstate &state, const ae_int_t nlec, const ae_int_t nlic)
void minnsrequesttermination(const minnsstate &state)
void minbleicrequesttermination(const minbleicstate &state)
void minqpsetalgodenseaul(minqpstate *state, double epsx, double rho, ae_int_t itscnt, ae_state *_state)
Definition: optimization.h:1151
void _minlbfgsstate_init_copy(void *_dst, void *_src, ae_state *_state)
void qqpcopysettings(qqpsettings *src, qqpsettings *dst, ae_state *_state)
void minbleicsetprecdiag(const minbleicstate &state, const real_1d_array &d)
void cqmdropa(convexquadraticmodel *s, ae_state *_state)
void minqpsetalgobleic(minqpstate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
void _sactiveset_init(void *_p, ae_state *_state)
Definition: optimization.h:1460
void _minasastate_clear(void *_p)
alglib_impl::minasastate * p_struct
Definition: optimization.h:1741
void minasaoptimize(minasastate &state, void(*grad)(const real_1d_array &x, double &func, real_1d_array &grad, void *ptr), void(*rep)(const real_1d_array &x, double func, void *ptr)=NULL, void *ptr=NULL)
void minasasetalgorithm(const minasastate &state, const ae_int_t algotype)
virtual ~minlmstate()
void minnlcinequalityshiftfunction(double alpha, double *f, double *df, double *d2f, ae_state *_state)
virtual ~_minnlcstate_owner()
_minqpreport_owner()
_minnsreport_owner & operator=(const _minnsreport_owner &rhs)
void _snnlssolver_init_copy(void *_dst, void *_src, ae_state *_state)
void minbcsetcond(minbcstate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
void minnlcsetstpmax(const minnlcstate &state, const double stpmax)
alglib_impl::minlmstate * p_struct
Definition: optimization.h:1809
void minasaresults(const minasastate &state, real_1d_array &x, minasareport &rep)
void minqpsetlc(minqpstate *state, ae_matrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
void minqpsetoriginfast(minqpstate *state, ae_vector *xorigin, ae_state *_state)
void minbcsetxrep(minbcstate *state, ae_bool needxrep, ae_state *_state)
void minbcsetprecdefault(const minbcstate &state)
bool mincgiteration(const mincgstate &state)
minlbfgsstate(const minlbfgsstate &rhs)
Definition: ap.h:509
ae_int_t & outeriterationscount
Definition: optimization.h:1447
void minqpresults(minqpstate *state, ae_vector *x, minqpreport *rep, ae_state *_state)
ae_bool minbleiciteration(minbleicstate *state, ae_state *_state)
_mincgstate_owner()
Definition: optimization.h:1253
void mincgsetprecvarpart(mincgstate *state, ae_vector *d2, ae_state *_state)
Definition: optimization.h:958
void minbcresults(const minbcstate &state, real_1d_array &x, minbcreport &rep)
minlmreport & operator=(const minlmreport &rhs)
void _qpdenseaulbuffers_clear(void *_p)
void _minasastate_init(void *_p, ae_state *_state)
void _minasareport_clear(void *_p)
void minnlcinequalitypenaltyfunction(double alpha, double stabilizingpoint, double *f, double *df, double *d2f, ae_state *_state)
void minnlcsetprecnone(minnlcstate *state, ae_state *_state)
void minlmsetstpmax(minlmstate *state, double stpmax, ae_state *_state)
minqpstate(const minqpstate &rhs)
void minqpsetstartingpoint(const minqpstate &state, const real_1d_array &x)
void minnlcsetalgoaul(const minnlcstate &state, const double rho, const ae_int_t itscnt)
void minlmsetacctype(const minlmstate &state, const ae_int_t acctype)
Definition: optimization.h:1525
void _qpcholeskysettings_init_copy(void *_dst, void *_src, ae_state *_state)
void mincgsuggeststep(mincgstate *state, double stp, ae_state *_state)
void _convexquadraticmodel_init_copy(void *_dst, void *_src, ae_state *_state)
void minlbfgssetxrep(const minlbfgsstate &state, const bool needxrep)
void _minlmstepfinder_destroy(void *_p)
Definition: optimization.h:1558
alglib_impl::mincgreport * c_ptr()
Definition: optimization.h:627
void preparelowrankpreconditioner(ae_vector *d, ae_vector *c, ae_matrix *w, ae_int_t n, ae_int_t k, precbuflowrank *buf, ae_state *_state)
Definition: optimization.h:1440
alglib_impl::minnlcstate * c_ptr()
void _minlmstate_init_copy(void *_dst, void *_src, ae_state *_state)
void minbleiccreate(ae_int_t n, ae_vector *x, minbleicstate *state, ae_state *_state)
void qpbleicloaddefaults(ae_int_t nmain, qpbleicsettings *s, ae_state *_state)
Definition: optimization.h:1163
virtual ~_minasareport_owner()
void _qpbleicbuffers_clear(void *_p)
void mincgsetcond(mincgstate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
alglib_impl::mincgreport * p_struct
Definition: optimization.h:1275
alglib_impl::minnsstate * p_struct
Definition: optimization.h:1653
_minlbfgsreport_owner & operator=(const _minlbfgsreport_owner &rhs)
void _qpdenseaulbuffers_destroy(void *_p)
void sassetprecdiag(sactiveset *state, ae_vector *d, ae_state *_state)
void minbleicsetscale(minbleicstate *state, ae_vector *s, ae_state *_state)
void minasasetstpmax(minasastate *state, double stpmax, ae_state *_state)
virtual ~_minbleicstate_owner()
void minnscreate(ae_int_t n, ae_vector *x, minnsstate *state, ae_state *_state)
void minqpsetquadratictermfast(minqpstate *state, ae_matrix *a, ae_bool isupper, double s, ae_state *_state)
Definition: optimization.h:1773
virtual ~_minqpstate_owner()
void minbccreate(const ae_int_t n, const real_1d_array &x, minbcstate &state)
_minasastate_owner & operator=(const _minasastate_owner &rhs)
void minbleicsetprecscale(minbleicstate *state, ae_state *_state)
minlbfgsstate & operator=(const minlbfgsstate &rhs)
void _precbuflbfgs_clear(void *_p)
void _minnsqp_init_copy(void *_dst, void *_src, ae_state *_state)
void minqpsetquadratictermsparse(minqpstate *state, sparsematrix *a, ae_bool isupper, ae_state *_state)
void minbleicsetscale(const minbleicstate &state, const real_1d_array &s)
Definition: optimization.h:454
void _minnsreport_init(void *_p, ae_state *_state)
void mincgsetprecdiag(const mincgstate &state, const real_1d_array &d)
_minlmstate_owner & operator=(const _minlmstate_owner &rhs)
void minqpsetlinearterm(minqpstate *state, ae_vector *b, ae_state *_state)
void cqmseta(convexquadraticmodel *s, ae_matrix *a, ae_bool isupper, double alpha, ae_state *_state)
void minlmsetlc(const minlmstate &state, const real_2d_array &c, const integer_1d_array &ct, const ae_int_t k)
ae_bool findfeasiblepoint(ae_vector *x, ae_vector *bndl, ae_vector *havebndl, ae_vector *bndu, ae_vector *havebndu, ae_int_t nmain, ae_int_t nslack, ae_matrix *ce, ae_int_t k, double epsi, ae_int_t *qpits, ae_int_t *gpaits, ae_state *_state)
void qpcholeskycopysettings(qpcholeskysettings *src, qpcholeskysettings *dst, ae_state *_state)
void _minlmreport_init(void *_p, ae_state *_state)
void _mincgstate_init(void *_p, ae_state *_state)
minnlcstate()
void minnlcsetalgoaul(minnlcstate *state, double rho, ae_int_t itscnt, ae_state *_state)
void _qpdenseaulsettings_destroy(void *_p)
void minqpsetlcsparse(minqpstate *state, sparsematrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
void _minasareport_init(void *_p, ae_state *_state)
minasastate()
void _minbleicreport_destroy(void *_p)
void minlbfgssetprecdiag(minlbfgsstate *state, ae_vector *d, ae_state *_state)
void minnssetbc(const minnsstate &state, const real_1d_array &bndl, const real_1d_array &bndu)
alglib_impl::minbleicreport * p_struct
Definition: optimization.h:1381
void minqpsetalgocholesky(const minqpstate &state)
minbleicstate & operator=(const minbleicstate &rhs)
void cqmrewritedensediagonal(convexquadraticmodel *s, ae_vector *z, ae_state *_state)
void mincgsetscale(mincgstate *state, ae_vector *s, ae_state *_state)
void _minasareport_init_copy(void *_dst, void *_src, ae_state *_state)
void sassetlc(sactiveset *state, ae_matrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
ae_bool minlbfgsiteration(minlbfgsstate *state, ae_state *_state)
void minnlcsetbc(const minnlcstate &state, const real_1d_array &bndl, const real_1d_array &bndu)
virtual ~minbcreport()
void _minbleicreport_clear(void *_p)
_mincgstate_owner & operator=(const _mincgstate_owner &rhs)
void minbcsetprecscale(minbcstate *state, ae_state *_state)
void minbcrestartfrom(minbcstate *state, ae_vector *x, ae_state *_state)
void minlmsetbc(const minlmstate &state, const real_1d_array &bndl, const real_1d_array &bndu)
void _mincgstate_clear(void *_p)
_minnlcreport_owner()
minasastate & operator=(const minasastate &rhs)
void _minbcstate_clear(void *_p)
void minlbfgscreate(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlbfgsstate &state)
alglib_impl::minbleicreport * c_ptr()
void mincgsetprecdiag(mincgstate *state, ae_vector *d, ae_state *_state)
void minbcsetcond(const minbcstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void minqpsetlinearterm(const minqpstate &state, const real_1d_array &b)
minlbfgsreport & operator=(const minlbfgsreport &rhs)
_mincgreport_owner & operator=(const _mincgreport_owner &rhs)
void minnlcsetprecexactlowrank(const minnlcstate &state, const ae_int_t updatefreq)
double sasactivelcpenalty1(sactiveset *state, ae_vector *x, ae_state *_state)
void sascorrection(sactiveset *state, ae_vector *x, double *penalty, ae_state *_state)
minbcreport()
mincgstate & operator=(const mincgstate &rhs)
void minnsrestartfrom(const minnsstate &state, const real_1d_array &x)
void inexactlbfgspreconditioner(ae_vector *s, ae_int_t n, ae_vector *d, ae_vector *c, ae_matrix *w, ae_int_t k, precbuflbfgs *buf, ae_state *_state)
void minlbfgssetprecdiag(const minlbfgsstate &state, const real_1d_array &d)
Definition: optimization.h:1742
Definition: alglibinternal.h:97
Definition: ap.h:913
alglib_impl::minlbfgsreport * p_struct
Definition: optimization.h:1185
minlmstate & operator=(const minlmstate &rhs)
void minlmsetcond(const minlmstate &state, const double epsx, const ae_int_t maxits)
void _qpdenseaulbuffers_init(void *_p, ae_state *_state)
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)
virtual ~_minbleicreport_owner()
void minlbfgssetprecscale(minlbfgsstate *state, ae_state *_state)
void minnlcrestartfrom(minnlcstate *state, ae_vector *x, ae_state *_state)
void minbleicsetxrep(minbleicstate *state, ae_bool needxrep, ae_state *_state)
void minnlcsetprecexactrobust(minnlcstate *state, ae_int_t updatefreq, ae_state *_state)
struct alglib_impl::ae_matrix ae_matrix
void mincgresultsbuf(const mincgstate &state, real_1d_array &x, mincgreport &rep)
_minnsreport_owner()
void minnsrestartfrom(minnsstate *state, ae_vector *x, ae_state *_state)
void _qqpsettings_init(void *_p, ae_state *_state)
void minnlcsetcond(minnlcstate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
Definition: linalg.h:66
void _precbuflowrank_clear(void *_p)
Definition: optimization.h:1272
void mincgrestartfrom(const mincgstate &state, const real_1d_array &x)
void minqpoptimize(minqpstate *state, ae_state *_state)
void minbcsetprecscale(const minbcstate &state)
void mincgsetstpmax(const mincgstate &state, const double stpmax)
minqpreport()
minqpstate()
void minnsrequesttermination(minnsstate *state, ae_state *_state)
minasareport()
void minlmresults(minlmstate *state, ae_vector *x, minlmreport *rep, ae_state *_state)
void mincgsetpreclowrankfast(mincgstate *state, ae_vector *d1, ae_vector *c, ae_matrix *v, ae_int_t vcnt, ae_state *_state)
void _sactiveset_clear(void *_p)
void mincgrestartfrom(mincgstate *state, ae_vector *x, ae_state *_state)
void minlbfgssetxrep(minlbfgsstate *state, ae_bool needxrep, ae_state *_state)
void minnsresults(minnsstate *state, ae_vector *x, minnsreport *rep, ae_state *_state)
void minnlcresultsbuf(const minnlcstate &state, real_1d_array &x, minnlcreport &rep)
void _minlbfgsstate_init(void *_p, ae_state *_state)
void minlmsetlc(minlmstate *state, ae_matrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
void _qqpbuffers_destroy(void *_p)
void mincgresults(mincgstate *state, ae_vector *x, mincgreport *rep, ae_state *_state)
void minnlcsetprecnone(const minnlcstate &state)
Definition: ap.h:469
void minnlcsetxrep(minnlcstate *state, ae_bool needxrep, ae_state *_state)
void _sactiveset_destroy(void *_p)
void minlmresultsbuf(const minlmstate &state, real_1d_array &x, minlmreport &rep)
void minlbfgscreatef(ae_int_t n, ae_int_t m, ae_vector *x, double diffstep, minlbfgsstate *state, ae_state *_state)
void minlbfgssetprecdefault(const minlbfgsstate &state)
void minlmcreatevgj(ae_int_t n, ae_int_t m, ae_vector *x, minlmstate *state, ae_state *_state)
void mincgsetprecdiagfast(mincgstate *state, ae_vector *d, ae_state *_state)
void minqpsetbc(const minqpstate &state, const real_1d_array &bndl, const real_1d_array &bndu)
double cqmdebugconstrainedevale(convexquadraticmodel *s, ae_vector *x, ae_state *_state)
void _qpbleicsettings_init_copy(void *_dst, void *_src, ae_state *_state)
void minnlccreate(ae_int_t n, ae_vector *x, minnlcstate *state, ae_state *_state)
void minbleicsetstpmax(minbleicstate *state, double stpmax, ae_state *_state)
void _minbleicstate_destroy(void *_p)
void minlmcreatefgh(const ae_int_t n, const real_1d_array &x, minlmstate &state)
_minlbfgsreport_owner()
void _minnsreport_clear(void *_p)
_minnlcstate_owner()
void minlmcreatefgj(ae_int_t n, ae_int_t m, ae_vector *x, minlmstate *state, ae_state *_state)
void _minlmreport_init_copy(void *_dst, void *_src, ae_state *_state)
void _precbuflbfgs_init_copy(void *_dst, void *_src, ae_state *_state)
minbleicreport(const minbleicreport &rhs)
minqpreport(const minqpreport &rhs)
void sasconstraineddescent(sactiveset *state, ae_vector *g, ae_vector *d, ae_state *_state)
mincgreport()
_minnlcreport_owner & operator=(const _minnlcreport_owner &rhs)
void minbcsetstpmax(const minbcstate &state, const double stpmax)
minasastate(const minasastate &rhs)
Definition: optimization.h:1472
Definition: optimization.h:1108
virtual ~minlbfgsstate()
void _qpdenseaulsettings_clear(void *_p)
void _qqpbuffers_init_copy(void *_dst, void *_src, ae_state *_state)
void mincgsuggeststep(const mincgstate &state, const double stp)
void qpbleiccopysettings(qpbleicsettings *src, qpbleicsettings *dst, ae_state *_state)
minbleicstate(const minbleicstate &rhs)
void minbcsetxrep(const minbcstate &state, const bool needxrep)
void minnssetnlc(const minnsstate &state, const ae_int_t nlec, const ae_int_t nlic)
ae_int_t & inneriterationscount
Definition: optimization.h:1365
void minlbfgssetpreccholesky(minlbfgsstate *state, ae_matrix *p, ae_bool isupper, ae_state *_state)
alglib_impl::minqpstate * p_struct
Definition: optimization.h:1391
void minbleicsetprecdefault(const minbleicstate &state)
void _minnlcreport_clear(void *_p)
Definition: optimization.h:719
void minnlcresults(const minnlcstate &state, real_1d_array &x, minnlcreport &rep)
void minqpoptimize(const minqpstate &state)
void _precbuflbfgs_init(void *_p, ae_state *_state)
minlbfgsreport()
void minasaresultsbuf(minasastate *state, ae_vector *x, minasareport *rep, ae_state *_state)
void snnlssetproblem(snnlssolver *s, ae_matrix *a, ae_vector *b, ae_int_t ns, ae_int_t nd, ae_int_t nr, ae_state *_state)
void _minnsqp_destroy(void *_p)
Definition: linalg.h:192
alglib_impl::minasareport * p_struct
Definition: optimization.h:1772
Definition: optimization.h:388
void minnlcsetscale(minnlcstate *state, ae_vector *s, ae_state *_state)
void minqpcreate(ae_int_t n, minqpstate *state, ae_state *_state)
void minlmcreatefgj(const ae_int_t n, const ae_int_t m, const real_1d_array &x, minlmstate &state)
void _minqpreport_init(void *_p, ae_state *_state)
Definition: optimization.h:115
void minbleicsetlc(minbleicstate *state, ae_matrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
void minbleicsetgradientcheck(const minbleicstate &state, const double teststep)
void _minnsreport_init_copy(void *_dst, void *_src, ae_state *_state)
void minbcresults(minbcstate *state, ae_vector *x, minbcreport *rep, ae_state *_state)
Definition: optimization.h:1794
void mincgsetcgtype(mincgstate *state, ae_int_t cgtype, ae_state *_state)
void minbleicsetprecscale(const minbleicstate &state)
_minlmreport_owner & operator=(const _minlmreport_owner &rhs)
alglib_impl::minlmstate * c_ptr()
void minbleiccreate(const ae_int_t n, const real_1d_array &x, minbleicstate &state)
void minlbfgssetpreclowrankexact(minlbfgsstate *state, ae_vector *d, ae_vector *c, ae_matrix *w, ae_int_t cnt, ae_state *_state)
Definition: optimization.h:1241
void minlbfgssetcond(minlbfgsstate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
void minasasetxrep(const minasastate &state, const bool needxrep)
virtual ~_minasastate_owner()
minnsstate & operator=(const minnsstate &rhs)
void _minbcreport_init_copy(void *_dst, void *_src, ae_state *_state)
void cqmsetd(convexquadraticmodel *s, ae_vector *d, double tau, ae_state *_state)
virtual ~_minlbfgsstate_owner()
Definition: optimization.h:965
void minasacreate(ae_int_t n, ae_vector *x, ae_vector *bndl, ae_vector *bndu, minasastate *state, ae_state *_state)
void mincgsetscale(const mincgstate &state, const real_1d_array &s)
_minasareport_owner()
void minbleiccreatef(ae_int_t n, ae_vector *x, double diffstep, minbleicstate *state, ae_state *_state)
void _minnsstate_init(void *_p, ae_state *_state)
void _minnlcstate_destroy(void *_p)
_minbcstate_owner & operator=(const _minbcstate_owner &rhs)
void _minqpreport_init_copy(void *_dst, void *_src, ae_state *_state)
void minlbfgsrestartfrom(minlbfgsstate *state, ae_vector *x, ae_state *_state)
virtual ~_minnsstate_owner()
void _mincgstate_init_copy(void *_dst, void *_src, ae_state *_state)
alglib_impl::minlmreport * c_ptr()
void _minnlcreport_init_copy(void *_dst, void *_src, ae_state *_state)
void snnlssolve(snnlssolver *s, ae_vector *x, ae_state *_state)
void minqpsetlcmixed(const minqpstate &state, const real_2d_array &densec, const integer_1d_array &densect, const ae_int_t densek, const sparsematrix &sparsec, const integer_1d_array &sparsect, const ae_int_t sparsek)
void minlmsetxrep(const minlmstate &state, const bool needxrep)
void mincgcreatef(const ae_int_t n, const real_1d_array &x, const double diffstep, mincgstate &state)
void _minlmstepfinder_init(void *_p, ae_state *_state)
bool minlbfgsiteration(const minlbfgsstate &state)
virtual ~_minbcstate_owner()
void minlmcreatev(ae_int_t n, ae_int_t m, ae_vector *x, double diffstep, minlmstate *state, ae_state *_state)
void minlmsetcond(minlmstate *state, double epsx, ae_int_t maxits, ae_state *_state)
_minnsstate_owner()
void minlbfgscreatex(ae_int_t n, ae_int_t m, ae_vector *x, ae_int_t flags, double diffstep, minlbfgsstate *state, ae_state *_state)
void _minbleicstate_clear(void *_p)
minqpstate & operator=(const minqpstate &rhs)
Definition: optimization.h:147
void _minlmstate_clear(void *_p)
void minlmsetgradientcheck(minlmstate *state, double teststep, ae_state *_state)
void minbleicsetcond(minbleicstate *state, double epsg, double epsf, double epsx, ae_int_t maxits, ae_state *_state)
virtual ~minasareport()
Definition: ap.h:1231
mincgstate(const mincgstate &rhs)
Definition: optimization.h:368
void mincgsetdrep(mincgstate *state, ae_bool needdrep, ae_state *_state)
void _minqpreport_destroy(void *_p)
mincgreport(const mincgreport &rhs)
void minnlcsetxrep(const minnlcstate &state, const bool needxrep)
void _qpbleicbuffers_init_copy(void *_dst, void *_src, ae_state *_state)
void cqmadx(convexquadraticmodel *s, ae_vector *x, ae_vector *y, ae_state *_state)
Definition: alglibinternal.h:158
Definition: optimization.h:1869
virtual ~_minnlcreport_owner()
void minqpsetalgobleic(const minqpstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxits)
void minqpcreate(const ae_int_t n, minqpstate &state)
Definition: ap.h:1373
bool minnsiteration(const minnsstate &state)
void minnlcsetgradientcheck(const minnlcstate &state, const double teststep)
void minasacreate(const ae_int_t n, const real_1d_array &x, const real_1d_array &bndl, const real_1d_array &bndu, minasastate &state)
void minnssetlc(minnsstate *state, ae_matrix *c, ae_vector *ct, ae_int_t k, ae_state *_state)
void sasreactivateconstraints(sactiveset *state, ae_vector *gc, ae_state *_state)
alglib_impl::minqpreport * c_ptr()
void minnlcsetprecinexact(const minnlcstate &state)
void _minbleicreport_init(void *_p, ae_state *_state)
bool minnlciteration(const minnlcstate &state)
void minbcsetprecdiag(minbcstate *state, ae_vector *d, ae_state *_state)
void _minqpstate_clear(void *_p)
void _qpcholeskysettings_destroy(void *_p)
void minqpsetalgoquickqp(const minqpstate &state, const double epsg, const double epsf, const double epsx, const ae_int_t maxouterits, const bool usenewton)
_minqpreport_owner & operator=(const _minqpreport_owner &rhs)
Definition: optimization.h:190
Definition: optimization.h:1513
void sasconstraineddirection(sactiveset *state, ae_vector *d, ae_state *_state)
void minnscreatef(ae_int_t n, ae_vector *x, double diffstep, minnsstate *state, ae_state *_state)
void minbleicsetbarrierwidth(const minbleicstate &state, const double mu)
_minbleicstate_owner()
Definition: optimization.h:1640
void _qpcholeskybuffers_init(void *_p, ae_state *_state)
ae_bool derivativecheck(double f0, double df0, double f1, double df1, double f, double df, double width, ae_state *_state)
virtual ~minbcstate()
void _minlmstepfinder_init_copy(void *_dst, void *_src, ae_state *_state)
void _qpbleicbuffers_init(void *_p, ae_state *_state)
void mincgsetcgtype(const mincgstate &state, const ae_int_t cgtype)
void minnssetscale(minnsstate *state, ae_vector *s, ae_state *_state)
Definition: optimization.h:1096
alglib_impl::minbleicstate * c_ptr()