Skip to main content

Unable to optimize using a trained neural network as a surrogate model

Answered

Comments

2 comments

  • Ronald van der Velden
    Gurobi Staff Gurobi Staff

    Hi!

    Interesting problem. If you don't have too many scenarios, you could consider testing multi-scenario feature in Gurobi. Regarding the surrogate model approach - if I understand correctly, the surrogate model only predicts travel time given a set of facilities to open; it assumes that all demand is fulfilled? What constraints in the remaining MIP ensure that demand is fulfilled?

    Kind regards,
    Ronald

    0
  • Xiaochen Chou
    Gurobi-versary
    First Comment
    First Question

    Hi Ronald,

    Thank you for the suggestions. 

    The surrogate model predicts the evaluation value of a given set of facilities based on travel costs with added penalties to account for unfulfilled demands. It aims to predict solution quality across various scenarios. The training dataset is generated by solving the assignment problem for the open facilities.

    You are right that then there is no constraints on fulfilling the demands in the remaining MIP, it should be the cause of the issue. As the constraints on demands depend entirely on the surrogate model, insufficient data on rare solutions with few or no open facilities in the training set could be another contributing factor.

    Thank you once more for making it clear. I'll tackle the issue by addressing these two aspects.

    Best regards,
    Xiaochen

     

     

    0

Please sign in to leave a comment.