Repository navigation
|
After finding a solution I would like to do a sensitivity analysis on the results. E.g. I would like to get information about shadow prices and slack for the constraints. This is possible with python PuLp library as described at https://machinelearninggeek.com/sensitivity-analysis-in-python/ and also with gurobipy (see https://support.gurobi.com/hc/en-us/community/posts/360063478872-How-to-generate-sensitivity-analysis-report-in-detail). Can I do the same with Google OR Tools and if so, how? I couldn't find anything about that in the documentation. |
Answered by
asmaier
Dec 18, 2022
Replies: 2 comments 2 replies
|
Do I understand correctly: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for your hints. It seems slack can be calculated by subtracting the activities from the upper bound of the constraint. With that I managed to convert the example from https://machinelearninggeek.com/sensitivity-analysis-in-python/ written in Python PuLP into Google OR Tools: