Forum Discussion
FICO
3 years agoCommunity Manager
I am wanting to create a variable within FICO DM that holds it value throughout multiple API calls for a specific time.
An example being I want to set risk tolerances that can be sent and consumed before work hours and are used by our components throughout the day.
3 Replies
- FICOCommunity Manager
Decision Modeler is a stateless service. If you want a variable to have a lifetime beyond a single call to the engine, the surrounding architecture will need to store that value and pass it in as an argument. This could be either from your calling application, or a part of the platform orchestration.
- FICOCommunity Manager
Tom,
Would we be able to create a local or global variable within the existing service that holds this value without the need to create 'external' storage variables?
- FICOCommunity Manager
There are multiple ways to create local or global variables, the best being the usage of business terms which can store values that could be calculated from data passed into the rules, as well as lists of possible values. These terms would last for the entirety of the call to the rules, and then be cleared from memory at the end of the call.
Related Content
Related Content
Can we manage to import multiple DTAB from a single Excel which will have multiple sheet of different DTABs.
Suppose I have two DTABs named A and B. I want to maintain a single Excel workbook containing two sheets named A and B. Whenever I need to import a DTAB, it should be retrieved from the workbook by m...1View0likes3CommentsVariable names in callback (Java API)
I construct a cut in a preintsol callback using variables from the model containing the callback. When constructing the model, I give the variables names (using withName(...)) and store them in a vec...9 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum4 unread comments4 unread1View0likes4CommentsVariable object mapping issue in Python Callbacks with Presolve enabled
Hi, I am implementing a Branch-and-Cut algorithm using the Xpress Python interface. I have structured my code as a class where I create variables (using xp.var) and store them in a dictionary attrib...9 months agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum6 unread comments6 unread6Views0likes6Comments