Topic
  • 4 replies
  • Latest Post - ‏2013-12-11T13:41:07Z by ikucukkoc
ikucukkoc
ikucukkoc
47 Posts

Pinned topic How to globally solve nonconvex MIQP using CPLEX Optimizer v12.6

‏2013-12-11T12:27:48Z |

Hi

 

I have a question about the new release of the CPLEX Optimizer (v12.6). I am trying to solve nonconvex MIQP globally and I know that new release of the CPLEX support this.

 

Now, "Which Code" should I write and "Where" in OPL IDE to solve the nonconvex MIQP globally? I know that we should use a code like "cplex.solutiontarget = 3;" but I do not know where to write it. It gives error "syntax error, unexpected '.', expecting (identifier) or '['".

 

Prompt responses are highly appreciated.

 

Best Regards

 

Updated on 2013-12-11T12:29:30Z at 2013-12-11T12:29:30Z by ikucukkoc
  • AlexFleischer
    AlexFleischer
    1211 Posts
    ACCEPTED ANSWER

    Re: How to globally solve nonconvex MIQP using CPLEX Optimizer v12.6

    ‏2013-12-11T12:59:53Z  

    Hi

     

    you should write

     

    execute

    {

    cplex.solutiontarget = 3;

    }

    before the constraint block

     

    Regards

     

  • AlexFleischer
    AlexFleischer
    1211 Posts

    Re: How to globally solve nonconvex MIQP using CPLEX Optimizer v12.6

    ‏2013-12-11T12:59:53Z  

    Hi

     

    you should write

     

    execute

    {

    cplex.solutiontarget = 3;

    }

    before the constraint block

     

    Regards

     

  • ikucukkoc
    ikucukkoc
    47 Posts

    Re: How to globally solve nonconvex MIQP using CPLEX Optimizer v12.6

    ‏2013-12-11T13:31:04Z  

    Hi

     

    you should write

     

    execute

    {

    cplex.solutiontarget = 3;

    }

    before the constraint block

     

    Regards

     

     

    Thanks. When I write the code just before the constraint block (after Objective Function), it gives error. So, is that ok to write the code BEFORE the Objective Function as well?

     

    Regards

  • AlexFleischer
    AlexFleischer
    1211 Posts

    Re: How to globally solve nonconvex MIQP using CPLEX Optimizer v12.6

    ‏2013-12-11T13:39:25Z  
    • ikucukkoc
    • ‏2013-12-11T13:31:04Z

     

    Thanks. When I write the code just before the constraint block (after Objective Function), it gives error. So, is that ok to write the code BEFORE the Objective Function as well?

     

    Regards

    yes just before the objective function is ok

     

    regards

  • ikucukkoc
    ikucukkoc
    47 Posts

    Re: How to globally solve nonconvex MIQP using CPLEX Optimizer v12.6

    ‏2013-12-11T13:41:07Z  

    yes just before the objective function is ok

     

    regards

    Many thanks. Now it is time to run!