the results become different after setting a timelimit

Answered

Comments

2 comments

  • Matthias Miltenberger

    Hi Siliang,

    Setting a time limit often makes the solver behavior non-deterministic because of slight differences in the running times - even when running on the same machine with the same settings. This is mostly due to other processes running in parallel that might influence how the operating system manages the available computing resources (CPU, memory, cache, etc.).

    To get a deterministic behavior, you should set a different termination criterion like a node or gap limit.

    Cheers,
    Matthias

    1
    Comment actions Permalink
  • Siliang Wei

    Hi Matthias,

    NODE_LIMIT and MIPGap do give me a deterministic result.

    Thank you for your help!

    Best wishes,

    Siliang

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk