IBMDecisionOptimization / docplex-examples

These samples demonstrate how to use the DOcplex library to model and solve optimization problems.
https://ibmdecisionoptimization.github.io/
Apache License 2.0
396 stars 229 forks source link

Using CDF math function in the modeling part #76

Open SHosseini94 opened 2 years ago

SHosseini94 commented 2 years ago

Hi,

I need to use scipy.norm.cdf() function in a constraint for my CP model. However, because I pass float var expressions into this function, the scipy can't accept it as an input. Is there any way to be able to use non-basic external methods of python packages in the modeling of CP?

Best,

Saeede