Replies: 2 comments
-
I'm wondering about this too. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's strange that @Dimjoy and @kutlay have had problems with this. I've just experimented with https://github.com/ERGO-Code/HiGHS/blob/latest/examples/knapsack.py and had no problems. The two call signatures for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
As far as I understand, currently there are two call signatures for
setSolution
method (according to _core.pyi file):Apparently, the second mimics
Highs_setSparseSolution
method from the C API. I am trying to use it for a simple LP-problem from the Examples section of the Guide (2 continuous variables and 2 constraints) with the following line of code:which fails with the following error message:
Am I doing it wrong? Or setting partial solution is not supported right now in the Python API?
Beta Was this translation helpful? Give feedback.
All reactions