Forum Discussion
FICO
6 years agoCommunity Manager
Variables Defined as Integers Assume Float Values after Optimization
Hello, I am trying to solve a non-linear problem using Xpress-NLP SLP in Python interface. Some variables that I explicitly define to be integers (via myvar = xp.var(..., vartype=xp.integer)), are re...
FICO
6 years agoCommunity Manager
Hi Pietro,
Thank you very much for your comments. Let me answer your questions. These numbers are far from being integers. I am using the latest version of Python interface (v8.8.2). I am getting output 3 when I run attributes.xslp_nlpstatus.
I'm attaching a pseudocode of my problem involving the coefficients that take continuous values. var1 are assuming continuous variables in this case. Please let me know if this is not enough and you think more details would be helpful. Thanks.

