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

Returning dictionary as result of a function

回答済み

コメント

1件のコメント

  • David Torres Sanchez
    • Gurobi Staff

    Hi,

    You can solve the problem after formulating it via calling model.optimize().
    I suggest you take a look a look at the Python examples to quickly see how to retrieve variable values and objective function vals: mip1.py.

    Full list of Python examples.

    Cheers, 
    David

    0

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