Library Request: highspy

オープン 初心者向け
#10,034 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
numpy, python
領域
cloud, devops

調査の方向性

environment-packages-python.jsonから始めて、デフォルト、autogluon、legacyの各環境にパッケージを追加する方法を確認してください。サポートされているPythonのバージョンと、highspyのパッケージインストール手順を確認してください。関連する環境を使用したクラウドデプロイでhighspyのインポートが成功すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

library-request

highspy is the official Python interface to the HiGHS mixed-integer/linear optimization solver (MIT licensed). The cloud Python environment already ships HiGHS indirectly through scipy.optimize.milp (environment pins scipy 1.13.1), but that interface rebuilds and re-solves the problem from scratch each call.

highspy exposes the underlying Highs() model object directly, so a caller can keep one model in memory across repeated solves and mutate it incrementally (add cuts, change variable bounds, update costs) instead of resubmitting the full problem every time. That incremental-resolve pattern is needed by algorithms that re-size a mixed-integer program at every rebalance.

Expected behavior

import highspy succeeds in a cloud backtest/live deployment.

Actual behavior

ModuleNotFoundError: No module named 'highspy' - the package is not present in any of the default, autogluon or legacy environments (environment-packages-python.json).

Package details
Checklist
  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue

Intercom reference: 215476709840912

主要言語
C#
スター
22.3k
フォーク
5.4k
平均マージ
2日 9時間
マージ済み PR(30日)
52

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

QuantConnect/Lean のほかの issue

QuantConnect/Lean の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。