Decision Optimization

Decision Optimization

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

 View Only
  • 1.  Square root in Excel CPLEX

    Posted Tue December 30, 2014 10:48 AM

    Originally posted by: RubenvanEwijk


    Hello,

    I'm using CPLEX in excel and I want to calculate the minimum distance for x and y coordinates. I need to use a square root function but CPLEX is not able to function with a square root, What can i do?

    I'm a beginner so please clarify what you say so I can understand.

    I have added a file to make it clearer.

    Thanks,

    Ruben van Ewijk


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Square root in Excel CPLEX

    Posted Tue December 30, 2014 03:13 PM

    Minimizing the squared euclidean distance is equivalent to minimizing the euclidean distance, and the objective is convex quadratic.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Square root in Excel CPLEX

    Posted Wed December 31, 2014 08:23 AM

    Originally posted by: RubenvanEwijk


    Thank you for responding,

    I'm not quite sure what you mean. Could I get my answer by changing the objective. Or can't CPLEX solve this question. If CPLEX can solve it can you adapt my Excel file so I can see how.

    Kind regards,

    Ruben van Ewijk


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Square root in Excel CPLEX

    Posted Wed December 31, 2014 04:13 PM

    Sorry, what I said applies to minimizing a single norm. You seem to be adding norms. I don't think you can solve that with CPLEX. I suggest you try a nonlinear solver.


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Square root in Excel CPLEX

    Posted Fri January 02, 2015 06:03 AM

    Originally posted by: RubenvanEwijk


    Okey, thank you!


    #CPLEXOptimizers
    #DecisionOptimization