Library Request: highspy

未关闭 适合新手
#10,034 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
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.4k
派生
5.4k
平均合并
1 天 23 小时
30 天内合并 PR
51

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

QuantConnect/Lean 的其他 Issue

查看 QuantConnect/Lean 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。