MathOpt サービス
MathOpt は、C++ と Python の最適化問題をモデル化して解決するための API です。MathOpt サービスは、エンドポイントを使用して数学的最適化の問題をリモートで解決できる OR API 内の試験運用版のメソッドのセットです。
https://optimization.googleapis.com/v1/mathopt:solveMathOptModel
MathOpt の機能
MathOpt モデルには以下を含めることができます。
- 整数変数または連続変数
- 一次制約または二次制約
- 線形または二次目標
モデルはどのソルバーとも独立して定義され、ソルバーは同じ意味で入れ替えることができます。SolveMathOptModel
では、次のソルバーがサポートされています。
MathOpt サービスは、モデルを解く際に次のような MathOpt のほとんどの機能をサポートします。
- 二重性
- 原始光線と二重光線
- 最適ではない基本ソリューションと二重ソリューション
- ウォーム スタート(ソリューション別またはベース別)
- 詳細な停止理由
- 分岐の優先度
- 多くの解法に依存しないパラメータ
コールバック、インクリメンタリズム、割り込みはまだサポートされていません。MathOpt サービスは、今後、より豊富な通信プロトコルを使用してこれらの機能をサポートする予定です。
設定とインストール
MathOpt のリモート解決機能を使用するには、設定ガイドに沿って取得できる API キーが必要です。MathOpt では、C++ と Python のクライアント ライブラリがリリース 9.9 以降の OR-Tools の一部として提供されています。
MathOpt サービスに関してご不明な点がございましたら、or-mathopt-service+support@google.com までお問い合わせください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-09 UTC。
[null,null,["最終更新日 2024-08-09 UTC。"],[[["MathOpt is an API that allows you to model and solve optimization problems using C++ and Python, with the MathOpt service enabling remote problem-solving via a dedicated endpoint."],["MathOpt supports a variety of model components, including integer/continuous variables, linear/quadratic constraints, and linear/quadratic objectives, and offers flexibility in solver selection with options like GLOP, PDLP, CP-SAT, SCIP, GLPK, OSQP, and HiGHS."],["The MathOpt service provides access to features such as duality, primal and dual rays, suboptimal solutions, warm starts, detailed termination reasons, and branching priority, while callbacks, incrementalism, and interruption are planned for future updates."],["To utilize the MathOpt service's remote solving capabilities, you will need an API key and the OR-Tools client libraries (available since release 9.9) for C++ and Python."]]],[]]