Adding type hints and updating doc on globalconstraints#812
Conversation
…onstructor and simplify boolean expressions by removing cp.all calls.
|
Finished documenting the globalconstraints.py file and updated checks. I also removed the call to Final open point is regarding explicit type checking. E.g., should we check all arguments of a list are indeed the right type? It would be good to do so... but will add some boilerplate code. Although I'm not opposed to it, as all of that checking code is hidden in the constructor anyway, and we have a great friend who can help writing with these checks. Feedback on doc changes and thoughts on typechecking are welcome : ) |
Started going through the global constraints file to update the documentation similar to what was done for the global functions.
Nonewhile computing the valueStill work in progress