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

Problem with tuple and floar addition

回答済み

コメント

2件のコメント

  • 正式なコメント
    Simranjit Kaur
    Gurobi Staff Gurobi Staff
    This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?.
  • Jaromił Najman
    Gurobi Staff Gurobi Staff

    Hi Leon,

    Please note that this is not really a Gurobi related question.

    The values of \(\texttt{('Biodiesel','salz')}\) and \(\texttt{('Biodiesel,'süß')}\) are given as pairs and not floats (note the comma \((-2, 846)\)). These should probably read

    ('Biodiesel', 'salz'):(-2.846), [...], ('Biodiesel', 'süß'):(-2.846)

    Best regards,
    Jaromił

    0

投稿コメントは受け付けていません。