Skip to content
Discussion options

You must be logged in to vote

Please let me know if you wish to save the value into a variable.

you can do so by saving it to a variable:

x = solver.settings.solution.report_definitions.compute(report_defs=[])

It'll return a dictionary from which you can extract the value.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by prmukherj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants