ValueError: Expected 1D or 2D array, got 3D array instead
Awaiting user inputHalo, It's the first time I encounter this problem. I saw in other topic that is not scarce, but in fact i don't understand where to reshape the data in my code.
File ~\anaconda3\envs\python_38_env\lib\site-packages\numpy\lib\npyio.py:1517 in savetxt
raise ValueError(
ValueError: Expected 1D or 2D array, got 3D array instead
0
-
Official comment
This post is more than two years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum, or try Gurobot, our chatbot interface offering instant, expert-level support. -
Hi Laynufar,
Can you please provide a Minimum Reproducible Example? It is hard to help without one.
- Riley
0
Post is closed for comments.
Comments
2 comments