The model is solved fine, but when the model is relatively large (150,000 variables, 620,600 constraints), cp.solve() reports an error "0SError: [Errno 22] Invalid argument" in self.pout.write(frame) in the _write_message(self, cid, data=None) method.
[errorCodeLocation](https://i.sstatic.net/yx8NcT0w.png)
[errormsg](https://i.sstatic.net/WRyFmEwX.png)
[errormsg](https://i.sstatic.net/Wxf61Flw.png)
This problem probably occurred while constructing the solver model