Support sparse array
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start by reproducing the reported failure with start_instance(engine="matlab") and m.runpf(), using the matpower-pip example and the MATLAB sparse-array error as the entry point. Compare the MATLAB engine path with the existing Oct2Py behavior and verify that sparse results are returned in a scipy-compatible representation without breaking dense data handling.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi, I'm a matpower-pip maintainer. It currently fully support MATPOWER via octave and Oct2Py. I just got access to genuine MATLAB engine and test my package on it. Turns out, you didn't support sparse data.
TypeError: conversion of MATLAB sparse array to Python not supported
I suggest that you use scipy representation to support sparse: https://docs.scipy.org/doc/scipy/reference/sparse.html
Hopefully, we can do at least this in Python
from matpower import start_instance
m = start_instance(engine="matlab")
m.runpf()
- Ngôn ngữ chính
- Python
- Star
- 97
- Fork
- 13
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mathworks/matlab-engine-for-python
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Failed to build matlabengine Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của mathworks/matlab-engine-for-python
Issue tương tự
-
triage/confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
agentscope-ai/agentscope#2775 ·
-
comp/desktop P3 type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
NousResearch/hermes-agent#118866 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
apache/cloudstack#14222 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100