Forum Discussion
FICO
5 years agoCommunity Manager
Hi, I am in the process of developing a simple optimization model for a supply chain. Two of the constraints relate to suppliers and the kitting facility.
The two constraints are: 1) Only one kitting facility can be chosen 2) Only one (or a variable number) of suppliers of one ingredient needs to be chosen. Why don't the constraints expressed on lin...
FICO
5 years agoCommunity Manager
What is the error message that you are seeing?
You seem to be missing some quotes (sorry, I just noticed one was missing in my example too):
Supplier_names as '[Xpress $I2:J'+(NUMS+1)+']'
Potential_kf_names as '[Xpress $K2:L'+(NUMP+1)+']'
Copacker_names as '[Xpress $M2:N'+(NUMC+1)+']'The sheet name 'Xpress ' in the spreadsheet that I have downloaded has a trailing blank, hence the space. Given that this is the second worksheet in the file this form should also be usable (alternatively to this explicit form you can of course always define named ranges within the spreadsheet and simply work with these names as labels within Mosel):
Supplier_names as '[2$I2:J'+(NUMS+1)+']'
