Introduction to RASON
About RASON Models and the RASON Server
Rason Subscriptions
Rason Web IDE
Creating and Running a Decision Flow
Defining Your Optimization Model
Defining Your Simulation Model
Performing Sensitivity Analysis
Defining Your Stochastic Optimization Model
Defining Your Data Science Model
Defining Custom Types
Defining Custom Functions
Defining Your Decision Table
Defining Contexts
Using the REST API
REST API Quick Call Endpoints
REST API Endpoints
Decision Flow REST API Endpoints
OData Endpoints
OData Service for Decision Flows
Creating Your Own Application
Using Arrays, For, Loops and Tables
Organization Accounts

Downloading Data to External Files

Final results for the data science model, decision/uncertain variables, uncertain functions, constraints and/or the objective function may also be written to an external source file. To retrieve this file(s), you must call the REST API endpoint, GET rason.net/api/model/{nameorid}/result/{data}. On the Editor page click the desired entry beneath Results for the specified model, then click the GET rason.net/api/model/{nameorid}/result/data icon on the ribbon. Enter the name of the output file into the Get Results File dialog, then click OK. The name of the output file entered into the Get Results File dialog must be identical to the datasource name in the RASON model.

For instance, the example RASON model below writes back the final variable values to ResultsVarsInit.txt. Note that the data source file name entered into the Get Results File dialog is the same as the file appearing in Data Files.

Get Results File

Note: If exporting to a file location such as 'Results/Export/influence-diagnostics.csv', you must enter the full path (Results/Export/influence-diagnostics.csv) into the edit box on the Get File Results dialog .

Select the Download File option to download the output file which can either be saved to your hard drive or opened.

Note: If your output file is a Microsoft ExcelTM workbook (.xlsx) or Access DatabaseTM file (.mdb) file, your results will only be available via the Download File option. For more information on writing data to an external file, see the RASON Reference Guide.

Back to Uploading Data