jfowkes / pycutest

Python interface to CUTEst
https://jfowkes.github.io/pycutest/
GNU General Public License v3.0
28 stars 11 forks source link

Pycutest with Knitro solver #65

Open fadihamad94 opened 1 year ago

fadihamad94 commented 1 year ago

Hello, please can you help me with the following issue:

Does the package support an interface to solve cutest problems with Knitro solver?

Thank you.

jfowkes commented 1 year ago

Hi, we do not provide one directly but you should be able to use the Knitro Python API through the knitro.Callback function described here: https://www.artelys.com/app/docs/knitro/3_referenceManual/knitroPythonReference.html#callback by passing in the relevant PyCUTEst functions (you may need to wrap them into the format Knitro expects). For example, to solve nonlinear least squares problems with Knitro see here: https://www.artelys.com/app/docs/knitro/2_userGuide/ktrlsq.html For more details see the full Knitro solver docs and accompanying examples.