jfowkes / pycutest

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

Pycutest with Knitro solver #65

Open fadihamad94 opened 10 months ago

fadihamad94 commented 10 months 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 10 months 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.