Forum Discussion
FICO
6 years agoCommunity Manager
How to increase floating point precision in Python interface
Hello, I am working on some variables that take very small values (to the order of E-8). Default settings of Xpress Python interface seems to be assuming certain values (the cutoff appears to be numb...
FICO
6 years agoCommunity Manager
Hi Pietro, thanks for your responses. The problem is indeed an NLP. Can you elaborate what do you mean by the type of the problem, if the following explanation is not enough? I have the following constraints involving these small variables "varx == smallvar1 + smallvar2*var1 + smallvar3*var1*var2 + ...", where smallvarn are the small variables I am referring to. In addition, I have the following constraints on these small variables: "smallvar1 == xp.Sum(coeff * bin_array for i in range(10))" where coeff are Python floats and each bin_array is binary variable.
To clarify my previous point, I still get my variable equal to zero instead of 1.13E-7 with feastol=1E-10.
