Skip to main content

Comments

1 comment

  • Richard Oberdieck
    Gurobi Staff Gurobi Staff

    Hi JC,

    the exception "Bad Image XYZ" in C# typically refers to the 32-bit/64-bit build. By default, Visual Studio builds using "Any CPU", i.e. it tries to build for both 32-bit and 64-bit machines. However, Gurobi is built for 64-bit systems (as it is a computationally heavy task), so I suggest you try to create a new Configuration using x64. You can check e.g. this stackoverflow post.

    Best

    Richard

    0

Please sign in to leave a comment.