Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

I installed Docplex and tried to upgrade the academic version, but I couldn't find the corresponding command line tool at all.

  • 1.  I installed Docplex and tried to upgrade the academic version, but I couldn't find the corresponding command line tool at all.

    Posted Mon March 17, 2025 11:32 AM

    PS D:\Program Files (x86)\cplex\examples\src\python> pip show docplex
    Name: docplex
    Version: 2.29.241
    Summary: The IBM Decision Optimization CPLEX Modeling for Python
    Home-page: https://www.ibm.com/cloud/decision-optimization-for-watson-studio
    Author: The IBM Decision Optimization on Cloud team
    Author-email:
    License: Apache 2.0
    Location: C:\Users\w2552\AppData\Roaming\Python\Python312\site-packages
    Requires: six
    Required-by:
    PS D:\Program Files (x86)\cplex\examples\src\python> docplex config --upgrade "D:\Program Files (x86)\cplex"
    docplex : 无法将"docplex"项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路
    径正确,然后再试一次。
    所在位置 行:1 字符: 1
    + docplex config --upgrade "D:\Program Files (x86)\cplex"
    + ~~~~~~~
        + CategoryInfo          : ObjectNotFound: (docplex:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException



    ------------------------------
    博林 张
    ------------------------------


  • 2.  RE: I installed Docplex and tried to upgrade the academic version, but I couldn't find the corresponding command line tool at all.

    Posted Wed March 19, 2025 08:59 AM

    The academic release has no restriction in terms of problem size.
    The version that needs to be updated is the community edition. 
    Instructions for updating it are available in the readmeWindows.html (for Windows) and readmeUNIX.html (Linux) files located under the CPLEX_Studio2212/cplex/

    Philippe