Forum Discussion
FICO
6 years agoCommunity Manager
Naming sets where the elements are a combination of indices
Hello, I have a follow-up question on the MOSEL best practices described here, regarding naming sets: https://www.fico.com/fico-xpress-optimization/docs/latest/mosel/UG/dhtml/moselugapp_sec_secappn...
FICO
6 years agoCommunity Manager
Very clear. Thank you. The examples in the link you shared are interesting as well. As a follow-up question to the example in proj.mos: I understand the difference in the enumeration results in the 4 loops demonstrated. If you use exists, then the difference is that "range" will return ordered tuples, while "set of integer" will report them in the order they appear. So should I expect that "set of integer" will be faster because there is no sorting? Is the difference noticeable? Which is recommended for indexing integers: range or set of integer? Thanks for your perspective.
Related Content
Related Content
Combining sum and overall statement
Hi, I am trying to build a perishable supply chain model. To include perishability, I want to include a constraint in which for every period in time (T is the set of periods, indexed by t) the model...5 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread0Views0likes2Commentscombining mmxprs and/or nlsolv with mmquad or mmnl
I have two questions about combining mmxprs and/or nlsolv with mmquad or mmnl in Mosel: If I use the Xpress solver (mmxprs), can I trust that it will always detect that a constraint or objective is ...3 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum5 unread comments5 unread0Views0likes5Comments