メインコンテンツへスキップ

Python read from MPS not working

回答済み

コメント

1件のコメント

  • Eli Towle
    • Gurobi Staff

    You are trying to read the model file using the Model.read() method, which is used for reading data (like a MIP start or LP basis file) into an existing model. Instead, use gurobipy's read() function:

    import gurobipy as gp

    model = gp.read("/path/to/coins.mps")
    0

サインインしてコメントを残してください。