Open CubeSugarCheese opened 1 month ago
Thanks for your review.
At first, I think I can typed this lib suitably. But after some research, I'm got a discouraged. There many imprecision in old code, for example.
Sorry, the workload for this task far exceeds my estimation. In contrast, the benefits obtained from typed are too low. Now I no longer have courage and energy to modify these codes. Perhaps the only feasible way to type this lib is to start writing from scratch. So that we can let go of the burden of compatibility.
You can close this pr. Sorry again.
Thank you for your efforts though! With your permission I will branch your code and I will try to make it compatible. I understand the pains of dealing with legacy code. I was not in this project at the time and it's definitely a challenge also for me.
I'm confident that I can make something useful with the work you have. Thanks again for the help!
650
This pr still incomplete, some functions are hard to type, like
LpVariable.matrix
andLpVariable.dicts
. And lots of usage ofcast
and# type: ignore
to adapt old code base (some replace by not None assert).