Skip to main content

Gurobi get dual problem

Awaiting user input

Comments

3 comments

  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi P Jimery,

    Are you wanting to get the master problem + optimality cuts + feasibility cuts that were added?  Or is it something else (I'm not familiar with the term dyadic problem)?

    Is your algorithm based on

    i) iteratively solving master and subproblems, and using addConstr to add constraints, or
    ii) using a callback and using cbLazy to add lazy constraints?

    - Riley

    0
  • P Jimery
    First Comment
    First Question

    Hi Riley,
    Yes, my algorithm is solving the main problem and the dyadic subproblem by iteration and adding the feasible cut of the dyadic subproblem to the main problem. But in solving larger scale problems the gap in Gap value is too big, so I tested the subproblems and dyadic subproblems and in small scale problems the objective values are same in both problems and in large scale problems the objective values are different and gap is big. So I want to verify if my dyadic subproblem is correct using Gurobi to solve the dyadic subproblem of the subproblem.

    -Jimery

     

    0
  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Jimery,

    I think I need an explanation for what you mean by dyadic, or we use a different word.  By dyadic do you mean dual?

    - Riley

    0

Please sign in to leave a comment.