Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  finding first integer feasible solution to integer programming model

    Posted 01/05/11 11:24 AM

    Originally posted by: melike


    Hi,

    I have an integer programming model to solve with CPLEX 10.1 Callable Library. I know that Cplex wastes lots of time to prove optimality of a solution. When i put a time limit to Cplex and solve the model, it gives optimal solution within time limit or hits time and gives integer feasible solution. In the second case, we can think that Cplex may find a good integer feasible solution using less time and it struggles to prove optimality by turning around the same integer feasible solution or make little deviation from the feasible solution for additional time. I want to learn how behave objective function with increasing time for the second case!

    I want to obtain first integer feasible solution (of course, not trivial solution) or other feasible integer solutions within the time limit. Because additional time may not be meaningful to impose for finding better solution within high computational time limit.

    Is there any suggestion, solution pooling or stg by using Cplex Callable Library?

    thanks
    melike
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: finding first integer feasible solution to integer programming model

    Posted 01/05/11 03:16 PM

    Originally posted by: SystemAdmin


    Not sure what you are trying to do. Do you just want to stop at the first feasible solution? Then set parameter CPX_PARAM_INTSOLLIM to 1.
    Or do you want to do something else?
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: finding first integer feasible solution to integer programming model

    Posted 01/06/11 02:02 AM

    Originally posted by: melike


    Yes, I just want to stop at the first feasible solution!

    Also, whether i can understand the behaviour of objective function versus time. I mean in the case that the model can't reach optimal solution,i want to keep feasible integer solutions within the time limit. If it is possible!

    Cplex may find a good solution within less time and make little improvement on objective function by adding high computational time. Wasting lots of time may be meaningless in this situation.

    Thanks
    melike
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: finding first integer feasible solution to integer programming model

    Posted 01/06/11 04:30 AM

    Originally posted by: SystemAdmin


    In order to stop at the first feasible solution that CPLEX finds just set CPX_PARAM_INTSOLLIM to 1. Note that once stopped you can continue the solve to stop at the next solution if there is time left. I.e. you can invoke CPXmipopt() in a loop, always stopping at the next integral solution found until you reach some kind of a time limit.

    In order to store or query all the solutions CPLEX has found so far use the solution pool (see manual or reference documentation).
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: finding first integer feasible solution to integer programming model

    Posted 07/05/11 02:07 PM

    Originally posted by: NitishGargIITM


    Hi,

    I have a question,
    does IntSolLim() gives the number of times Cplex finds an integer solution or the number of times it updates the incumbent solution ?

    thanx
    nitish
    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: finding first integer feasible solution to integer programming model

    Posted 07/06/11 02:15 AM

    Originally posted by: SystemAdmin


    The IntSolLim parameter applies to the number of incumbents CPLEX finds.
    #CPLEXOptimizers
    #DecisionOptimization