admin管理员组文章数量:1355051
I am struggling to activate the academic version of CPLEX for use in docplex. I had tried following the steps outlines in .1.2?topic=cplex-setting-up-python-api, but found that these seemed outdated with a note in the changelog.
All of the guidance I have found suggests that I need to grab an API key, but I can't seem to find it anywhere. I downloaded the program by following the link here /, which prompted me first for my academic email, then to create an IBMID. I did both of these and have an install of CPLEX Studio 22.1.2, and have set my path to the location of the DLL file this created.
However, I am still being hit with the error
Promotional version. Problem size limits (1000 vars, 1000 consts) exceeded, model has 660 vars, 1210 consts, CPLEX code=1016
Could anyone point me to any updated guidance or have any advice?
Thank you!
I am struggling to activate the academic version of CPLEX for use in docplex. I had tried following the steps outlines in https://www.ibm/docs/en/icos/22.1.2?topic=cplex-setting-up-python-api, but found that these seemed outdated with a note in the changelog.
All of the guidance I have found suggests that I need to grab an API key, but I can't seem to find it anywhere. I downloaded the program by following the link here https://www.ibm/academic/, which prompted me first for my academic email, then to create an IBMID. I did both of these and have an install of CPLEX Studio 22.1.2, and have set my path to the location of the DLL file this created.
However, I am still being hit with the error
Promotional version. Problem size limits (1000 vars, 1000 consts) exceeded, model has 660 vars, 1210 consts, CPLEX code=1016
Could anyone point me to any updated guidance or have any advice?
Thank you!
Share Improve this question asked Mar 31 at 12:58 TrevTrev 175 bronze badges 2 |2 Answers
Reset to default 1I found my answer. In the command prompt, docplex needed to be told directly where the installation was as follows:
>docplex config --upgrade <cplex_studio_location>
When you followed
https://mertbakir.gitlab.io/operations-research/how-to-install-cplex-ibm-academic-initiative/
Are you sure you picked the right product and not the community edition ?
本文标签: Installing IBM ILOG CPLEX academic version for use with pythonStack Overflow
版权声明:本文标题:Installing IBM ILOG CPLEX academic version for use with python - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743946559a2566513.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
1000 consts
but you have model with1210 consts
– furas Commented Mar 31 at 13:30