Skip to main content

ValueError: invalid literal for int() with base 10: ''

Answered

Comments

3 comments

  • Official comment
    Simranjit Kaur
    • 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 try Gurobot, our chatbot interface offering instant, expert-level support.
  • Matthias Miltenberger
    • Gurobi Staff

    Hi Jingyue,

    This is a Python error message indicating that you are trying to convert the empty string \(\texttt{''}\) to an int.

    You should check the values of your table before converting them.

    Cheers,
    Matthias

    0
  • Jingyue Zhang
    • Gurobi-versary
    • Collaborator
    • Curious

    Thanks! The problem is solved!

    0

Post is closed for comments.