Skip to main content

In C# I am not able to find this attribute Model.printQuality() or Model.PrintQuality()

Answered

Comments

2 comments

  • Official comment
    Simranjit Kaur
    • Gurobi Staff
    This post is more than two 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.
  • Ronald van der Velden
    • Gurobi Staff

    Hi Sudheer,

    Indeed this method is not available in C#. However, the Python function is based on a collection of attributes that are all available in C# as well. Have a look at the section "Solution quality attributes" on this page. The size the violations, as well as the index of the model element that created the largest violation, can all be queried.

    Hope this helps!

    Kind regards,
    Ronald

    1

Post is closed for comments.