Revenue Optimizer — Get Engine Script (large histories)
revenue_optimizer_get_engineFor more than 500 products, 20,000 bookings or 5,000 price-history rows, or any such file already in your code sandbox. Returns a complete numpy-only Python script with the same engine as revenue_optimizer; it reads products, fare classes, price history, bookings and show history, prints the decision cards and one line per product, and writes everything to revenue_plan.json. No booking data reaches this server on this path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Other inputs exactly as revenue_optimizer takes them (industry, as_of ...). | |
| bookings_path | No | Optional bookings / reservations export. | |
| products_path | No | Products file (CSV/TSV/JSON). | |
| fare_classes_path | No | Optional fare classes file. | |
| show_history_path | No | Optional show-up history file. | |
| price_history_path | No | Optional price / units history file. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| paths | No | ||
| script | Yes | ||
| language | No | ||
| requires | No | ||
| writes_file | No | ||
| instructions | Yes | ||
| engine_version | Yes | ||
| scipy_required | No | ||
| data_requirements | No | ||
| network_access_required | No |