option solver knitroampl;
Cannot invoke knitroampl: no such program.
option solver "C:\Program Files (x86)\Ziena\KNITROSTUDENT 9.0.1\knitroampl\knitroampl";but using this I got a different error:
exit code 3221225781
<BREAK>
Failed to load the KNITRO native library 'knitro.dll'.
Make sure that your environment variables are set properly.
Dear Trish,
Thank you for the detailed diagnostic you provided. Could you try to go to the knitroampl directory of your KNITRO distribution and try to run
knitroampl testproblem.nl ? This should launch knitroampl on a simple test problem.
Moreover, did you use 32 or 64 bits python version in your python test?
Best regards
Manuel RUIZ
Optimization consultant | Consultant en optimisation
Artelys FRANCE
12 rue du Quatre-Septembre 75002 PARIS - France
Tel +33 1 44 77 89 00 Fax + 33 1 42 96 22 61
De : kni...@googlegroups.com [mailto:kni...@googlegroups.com]
De la part de Trish Gillett
Envoyé : samedi 29 mars 2014 04:08
À : kni...@googlegroups.com
Objet : [KNITRO] Beginner issue: unable to run KNITRO (tried both AMPL and Python)
--
You received this message because you are subscribed to "KNITRO Nonlinear Optimization Solver" google group.
To post to this group, send email to KNI...@googlegroups.com
To unsubscribe from this group, send email to
KNITRO-un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/KNITRO?hl=en
Thank You,
Ziena Optimization, Inc.
www.ZIENA.com
---
You received this message because you are subscribed to the Google Groups "KNITRO Nonlinear Optimization Solver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
knitro+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dear Trish,
Did you reboot your computer after the installation ? Or at least log off from your windows session to force the environment variable to be updated ?
Manuel
De : kni...@googlegroups.com [mailto:kni...@googlegroups.com]
De la part de Trish Gillett
Envoyé : lundi 31 mars 2014 05:48
À : kni...@googlegroups.com
Objet : [KNITRO] Re: Beginner issue: unable to run KNITRO (tried both AMPL and Python)
--
Dear Trish,
You should not use quotes when defining environment variables in Windows.
In fact, it just will not work.
I get that you are able to use KNITRO, but not when the libraries and placed in a location that is not the “current directory”.
Can you try again, without the quote, to run a Python example from the command prompt, and if it does not work, send us the result of the “echo %KNITRODIR%” and “echo %PATH%” commands?
Finally, you should be able to run 32-bit applications on your 64-bit operating system with no problem.
Mixing 32-bit/64-bit AMPL and KNITROAMPL is possible as the communication is done through executables and files.
However, when using Python or MATLAB with KNITRO, it is mandatory to use consistent 32-bit/64-bit versions for all tools.
Kind regards,
Sylvain MOURET
Product Manager
Artelys FRANCE
12 rue du Quatre Septembre 75002 Paris FRANCE
Tel +33 1 84 17 59 65 Fax +33 1 42 96 22 61
De : kni...@googlegroups.com [mailto:kni...@googlegroups.com]
De la part de Trish Gillett
Envoyé : lundi 31 mars 2014 19:27
À : kni...@googlegroups.com
Objet : [KNITRO] Re: Beginner issue: unable to run KNITRO (tried both AMPL and Python)
Thank you all for the replies!
--