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

Solving with Simulation Optimization

We'll first solve this problem using simulation optimization using either the Desktop IDE or the Web IDE. If using the Desktop IDE, simply click the Solve icon at the top of the application.

If using the Web IDE,

  • Click POST rason.net/api/model to post the model.
  • Click POST rason.net/api/model/id/optimize or /solve to begin the simulation optimization.
  • Click GET rason.net/api/model/id/status to obtain the status of the solve.
  • Click GET rason.net/api/model/id/result to obtain the final result.

The results are shown below.


{
  "status": {
    "code": 2,
    "id": "2590+UGProjectSelect0+2020-03-20-14-44-27-831535",
    "codeText": "Solver cannot improve the current solution.  All 
     constraints are satisfied."
  },
  "variables": {
    "x": {
      "finalValue": [1, 0, 1, 1, 1, 0, 1, 0]
    }
  },
  "objective": {
    "total": {
      "finalValue": 1.39564e+06
    }
  }
}

We've decided to fund projects #1, 3, 4, 5 and 7 for an expected total net cash flow of $1.36808M. That's a great result but for a 'scaled-up' model that might involve hundreds or thousands of projects, the solution might have taken far more time to solve.

Back to A Project Selection Model