Skip to main content

parameter setting

Answered

Comments

7 comments

  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Richard,

    I can't explain what might be happening here.  Can you write a log to file (using the LogFile parameter) and check to see whether it is also missing any expected contents?

    You don't have to worry about TuneTimeLimit, it is not relevant as it is only used when using the parameter tuning tool.

    - Riley

    0
  • du d
    First Comment
    First Question

    Dr. Clement,

    Thanks for your answer. I used the logfile parameter and generate the file named 1028. And it really missed many contents. It is obviously that this problem has solution. Now i do not konw how to fix this problem. 

    -Richard

    0
  • Riley Clement
    Gurobi Staff Gurobi Staff

    Hi Richard,

    This is quite confusing and I have no explanation.  My ability to debug is also limited by the fact that YALMIP is a 3rd party tool.  Do you know if there is any way to see the Status Code using YALMIP?

    I think it would be worth upgrading Gurobi to the latest version (9.1.2 is quite old and no longer supported) and see if the problem persists.

    - Riley

     

     

    0
  • Riley Clement
    Gurobi Staff Gurobi Staff

    It might also be worth asking the yalmip community if they have seen this problem before:
    https://groups.google.com/g/yalmip

     

    0
  • du d
    First Comment
    First Question

    Hi Dr.Clement,

    The status code of this problem in YALMIP is 9. And it provides some infomation in sol.info:
    Unknown problem (<a href="yalmip.github.io/inside/debug">learn to debug</a>) (Unknown problem (<a href="yalmip.github.io/inside/debug">learn to debug</a>) (Error using gurobiGurobi error 10008: Unable to set parameter CrossoverBasis to value -1 (minimum is 0))).
    Maybe i should debug this first and then update Gurobi.

    Thanks for your answer. It really helps me a lot.

    -Richard

    0
  • Riley Clement
    Gurobi Staff Gurobi Staff

    Ah this makes sense now.  If you look at the reference for CrossoverBasis in v9.1 the default value was 0, and this was the lowest value this parameter could take.  This was changed in the next release v9.5.  The default, and lower value, for CrossoverBasis in v9.5 is -1.

    It seems your version of YALMIP is incompatible with Gurobi v9.1.  The YALMIP documentation should really make it clear which versions of YALMIP are compatible with which versions of Gurobi, but I suppose this is a lot of work for them.  My advice is to upgrade to the latest version of Gurobi (v11.0.3) and this problem will go away.

    - Riley

    0
  • du d
    First Comment
    First Question

    Hi Dr.Clement,

    Thanks a lot! Upgrading is a little complex under Linux system.

    By debugging the info, and omment out some useless parameters in warning. The problem can be solved after setting parameter.

    -Richard

    0

Please sign in to leave a comment.