Evaluation of constraints in the "trust-constr" minimize algorithm.
Olumide <[email protected]> Thu, 24 Aug 2023 03:35:37 +0100
| Newsgroups | gmane.comp.python.scientific.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello List, I am reading the source of the "trust-constr" minimize algorithm and I am confused about what fun_and_constr() does on line 147 of equality_constrained_sqp.py i.e. https://github.com/scipy/scipy/blob/main/scipy/optimize/_trustregion_constr/equality_constrained_sqp.py#L147. From what I understand of the theory, I expected the fun_and_constr() to simply evaluate the function and the constraints but it doesn't do that. Rather the function does a lot more -- Hessians and Jacobian computation and returns some sort of difference. What is the reason for this? Regards, - Olumide _______________________________________________ SciPy-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: [email protected]