Originally posted by: zhwhjessica
I have established a mix integer programming model with basic c language and written it as “smb_new.lp” file with “CPXwriteprobCPXwriteprob (env, lp, "smb_new.lp", NULL)”. Then I optimize it with “CPXmipopt (env, lp)”; However, I got a wrong answer to one binary variable which is -2.664535259e-015 even though in the “smb_new.lp” file it is defined as a binary variable. When I use an interactive optimizer though reading this “smb_new.lp” file and then optimizing it, there is no such a problem. Why there is a problem when I optimize this model with basic C language?
#CPOptimizer#DecisionOptimization