Skip to Content

All solvers

HiGHS (MathOptFormat)

highs-mof

One of the engines behind Optimization as a Service, with its price, its live status and a request you can copy on this page.

Answering Checked at .

Price and capabilities

Base fee
0 credits
Credits per second
0 credits
Problem classes
opaque/1
Type
Concrete engine, pinned by name

Compute presets and rates

Compute preset What it reserves Credits per second
CPU VPS default cpu-vps 4 vCPU, 8 GB memory 0 credits

A submission that names no preset runs on the default one. The rate is the engine's own rate times the preset's multiplier, and it is what a second of that compute costs.

Pin HiGHS (MathOptFormat) by name in the envelope's solver field. The metering and the maximum cost work exactly as on any engine.

A request pinned to this engine

envelope.json
{
  "api_version": "1",
  "problem": {
    "variables": [
      {
        "name": "chairs",
        "lower": 0
      },
      {
        "name": "tables",
        "lower": 0
      }
    ],
    "constraints": [
      {
        "expr": "4*chairs + 8*tables <= 160",
        "name": "machine_hours"
      },
      {
        "expr": "2*chairs + 3*tables <= 75",
        "name": "material"
      }
    ],
    "objective": {
      "sense": "max",
      "expr": "45*chairs + 80*tables"
    }
  },
  "solver": "highs-mof",
  "options": {
    "compute_preset": "cpu-standard",
    "time_limit_seconds": 5,
    "tags": [
      "quickstart"
    ]
  }
}