Originally posted by: stevenluda
Hi, all,
Is there a way to print out the columns of nonzero variables(in IP model)? I went through historical posts, it was mentioned (e.g. in this post
https://www.ibm.com/developerworks/forums/thread.jspa?messageID=14462382�) that the only way is to use iterator to go through all constraints to get the coefficients. However, it requires variables to be assigned names when building the model. Am I understanding right? What if the variables are not assigned names (e.g. in cutstock.cpp from the cplex distribution)? Is there a way to retrieve columns in this case?
Thanks
#CPLEXOptimizers#DecisionOptimization