Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Python and Cplex

    Posted 06/02/14 06:19 PM

    Originally posted by: jarchit52


    I am a beginner and I want to import python library in cplex and run python scripts. What are the settings required ? 


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Python and Cplex

    Posted 06/02/14 06:31 PM

    The Setting up the Python API of CPLEX documentation should get you started.  You'll need to install (or have access to) CPLEX Optimization Studio first, of course.  See the latest product version information here.  The Python tutorial and the CPLEX Python API Reference Manual would be good next steps.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Python and Cplex

    Posted 03/24/18 12:15 PM

    Originally posted by: EvanSmith


    Hello,

     

    I am also new to cplex and thinking about how to use it.  After reading the documentation I am still puzzled at the difference between a "constraint" and "objective".  I realize this must be a rather silly question.  But constraints are easy enough to grasp, just write them and they do something on the search space.

     

    But what does an "objective" do ?  How is it different than just a constraint (that its he real question).  

     

    Thanks,

    Evan


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Python and Cplex

    Posted 03/26/18 01:52 AM

    The objective is the expression you actually want to optimize (minimize or maximize). The objective assigns a value to each point in the search space and the goal is to find the point with the minimum/maximum value.


    #CPLEXOptimizers
    #DecisionOptimization