Optimatika Optimisation Service

Solve linear, quadratic and mixed-integer optimisation models; get each variable's value by name.

使うべきか

品質と安全性

B
説明の品質
93%
スキーマの完全性
72%
命名の品質
80%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~861トークン数(ツール定義)
~1.4 KB一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.67%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "optimisation-service": {
      "url": "https://service-api.optimatika.se/optimisation/mcp"
    }
  }
}

リモートエンドポイント

https://service-api.optimatika.se/optimisation/mcpstreamable-http

できること

ツール一覧

ツール(3)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢solve(model, format, sense)

Solves a linear, quadratic or mixed-integer optimisation model and returns the solution state, the objective value and each variable's value by name. Give the model as text, in LP format unless 'format' says otherwise. For example: Maximize obj: 3 x + 5 y Subject To budget: x + y <= 10 Bounds 0 <= x <= 8 General x End A coefficient goes before its variable with a space, as in 3 x: there is no * for that, no division and no parentheses. Variables go on the left-hand side, and a single number on the right. Squares and products go together inside one pair of square brackets, each with its coefficient inside too, written as a single number: [ 0.5 x ^2 + 0.004 x * y + 3 y ^2 ], not 0.5 [ x ^2 ] or 2 * 0.002 x * y. A variable is 0 or more unless Bounds says otherwise; General makes it integer, Binary 0 or 1. What is not LP format is an error that names the line. A long solve reports progress, if asked for. OPTIMAL means proven optimal; FEASIBLE means a solution was found but not proven optimal, typically because a time limit was reached. The objective and the variables' values are given only with a solution, and 'note' explains any other state.

入力スキーマ

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The model, as text"
    },
    "format": {
      "type": "string",
      "enum": [
        "LP",
        "MPS",
        "EBM"
      ],
      "default": "LP",
      "description": "LP (CPLEX LP format), MPS, or EBM (ojAlgo's own)"
    },
    "sense": {
      "type": "string",
      "enum": [
        "MIN",
        "MAX"
      ],
      "description": "Minimise or maximise. Overrides what the model says; LP and MPS models say it themselves, EBM ones do not"
    }
  },
  "required": [
    "model"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "state": {
      "type": "string",
      "description": "OPTIMAL, DISTINCT (optimal and the only optimum), FEASIBLE, INFEASIBLE, UNBOUNDED, APPROXIMATE, FAILED, or another of ojAlgo's solution states"
    },
    "optimal": {
      "type": "boolean"
    },
    "feasible": {
      "type": "boolean"
    },
    "objective": {
      "type": "number",
      "description": "Absent unless there is a solution"
    },
    "variables": {
      "type": "object",
      "additionalProperties": {
        "type": [
          "number",
          "null"
        ]
      },
      "description": "Each variable's value, by name. Absent unless there is a solution"
    },
    "note": {
      "type": "string",
      "description": "What the state means, when it is not OPTIMAL"
    }
  },
  "required": [
    "state",
    "optimal",
    "feasible"
  ]
}
🟢translate(model, from, to)

Rewrites an optimisation model from one file format to another: LP (CPLEX LP format), MPS, or EBM (ojAlgo's own).

入力スキーマ

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The model, as text"
    },
    "from": {
      "type": "string",
      "enum": [
        "LP",
        "MPS",
        "EBM"
      ]
    },
    "to": {
      "type": "string",
      "enum": [
        "LP",
        "MPS",
        "EBM"
      ]
    }
  },
  "required": [
    "model",
    "from",
    "to"
  ],
  "additionalProperties": false
}
🟢environment

Reports what a model solved here may be: how large, how long it may run, and which solvers are available.

入力スキーマ

{
  "type": "object",
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 3 件