Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Can Cplex Python API solve SOCP or SDP?

    Posted 01/07/11 09:43 AM

    Originally posted by: Dmitrey


    Hi all,

    I have connected some Cplex solvers (LP, QP, MILP) to quite popular free Python-written framework OpenOpt (openopt.org, ~100...150 website visitors daily) and I guess I could be capable of connecting some more (e.g. (MI)QCQP), but your Python API documentation and examples seem to miss SDP and SOCP examples.

    Do they exist? Can anyone publish some of them?

    Regards,
    Dmitrey.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Can Cplex Python API solve SOCP or SDP?

    Posted 01/10/11 12:20 PM

    Originally posted by: SystemAdmin


    Hello Dmitrey,

    You can solve (MI)SOCP problems using the Python API by specifying the cone constraints through our quadratic constraint API.

    CPLEX does not currently support semi-definite programming.

    Philip Starhill
    CPLEX Research Engineer
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Can Cplex Python API solve SOCP or SDP?

    Posted 01/11/11 01:52 PM

    Originally posted by: Dmitrey


    Are there any (MI)SOCP examples in CPLEX source code?

    I have connected to OpenOpt framework all Cplex problems except of (MI)SOCP, you could visit our cplex page at http://openopt.org/cplex.

    I see some optimization frameworks are mentioned in your wiki page http://en.wikipedia.org/wiki/CPLEX ; will you mind me to add link to our OpenOpt wikipedia.org entry there? Our permissive license (BSD) yield no problems in stacking OpenOpt with commercial soft.

    Regards,
    Dmitrey.
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Can Cplex Python API solve SOCP or SDP?

    Posted 01/13/11 03:12 AM

    Originally posted by: SystemAdmin


    Hi Dmitrey. I updated the CPLEX Wikipedia page to include a link to your OpenOpt Wikipedia page.

    The examples directories contain source code for a convex quadratically constrained example - in Python it is qcpex1.py. It should be possible to cast any SOCP as a QCP.
    #CPLEXOptimizers
    #DecisionOptimization