Skip to main content

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

Answered

Comments

1 comment

  • Ronald van der Velden
    Gurobi Staff 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

Please sign in to leave a comment.