Forum Discussion
FICO
18 years agoCommunity Manager
Regarding RMA (Acessing Instances)
Regarding RMA (Acessing Instances) I have small query:- Is there any way to reflect the changes done in the instances to the main templates. Cause we have a requirement of changing the values duri...
FICO
18 years agoCommunity Manager
I am not sure that I understand what you are trying to accomplish, but here is one idea:
It is not possible (as far as I know) to pass values from template A to template B, and the from template B to template A again. You can pass arguments from one template to another using template arguments, but not both ways.
What you can do, however, is use a third template to act as a go-between:
Just to prove the idea, create a ruleset template. In the ruleset template, create two value holders, V1 and V2, for example strings or ints. Then create two code templates (in the ruleset template), C1 and C2.
Now, in the code templates you have created, you can create placeholders without creating the additional value holders (select "Use an existing value holder" ). When prompted to select a value holder, choose "Select a value holder in the current global template". You now have access to the value holders declared in the ruleset template.
This is a very simple demonstration, but you can elaborate on this and use the different valueholders for input (that is, populate the value holder) in one template, and then as an argument (for example) in another template.
Message Edited by Jostein on 04-11-2008 08:01 AMRelated Content
Related Content
Problems regarding one formula:
Hi Everybody! I'm fairly new to Xpress and had to develop an ILP for my thesis and calculate it with Xpress. Now I am stuck on a formula I don't know how to express within the Mosel language. Maybe...12 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum3 unread comments3 unread0Views0likes3Comments