-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Knitro attribute not available on Knitro 13.2 #128
Comments
Ugh, I was hoping Knitro would keep their software backwards-compatible. My best guess is they dropped compatibility with their old API in one of the newest versions, but I don't have the newest version installed on my machine, so I can't check right now. When you use Knitro outside of PyBLP, are you calling functions that look different than the ones I call in the following code? pyblp/pyblp/configurations/optimization.py Lines 345 to 486 in 8ff613d
If so, I'll leave this issue open as a reminder that PyBLP's Knitro wrapper has to be updated for newer versions. Until then, you have a few options:
|
Hi Jeff. I'm sorry for the slow reply. I'll check whether it is possible to downgrade for now. If not, I'll try to figure out how to use the custom optimization method. Regarding my use of Knitro: I have been using the approach in |
Sounds good -- if you do end up making a custom optimization method and don't mind posting it here, it would be a great starting point for making the package compatible with the newer interface. |
Hi fluce, @flucoe I have encounter same probelm here. Can you share your code that uses |
Hi Jeff,
I was trying to use Knitro but I'm getting an odd message for version 13.2.0
Specifically, I can import it (and actually use it for non-pyblp things, such as the examples*.py provided with Knitro) but when defining the optimization (
kn = pyblp.Optimization('knitro')
) I getI tried this on my local machine and on an HPRC system (to make sure it was not my installation that was generating the problem), and in both cases I get the same message (with different path to optimization.py, of course). Any ideas of what could be happening? I was not getting this with previous versions of Knitro such as 13.0.1.
Also, I can I use Knitro without trouble outside pyblp.
Thanks.
The text was updated successfully, but these errors were encountered: