excel - Cplex-从 Excel 文件中读取数据
问题描述
我有一个问题,我无法从 EXCEL 文件中加载我的数据。这是我的代码,
in mod file
int i = ...;
range values = 1..i;
int storage[values] = ...;
in dat file
SheetConnection store("DataSet-5.xlsx");
storage from SheetRead(store,"'Sheet1'!B2:B201"); ##Sheet1 is the sheet name where the data is located.
i = 201;
文件与我的项目位于同一位置。但它给出了内部错误。
解决方案
推荐阅读
- php - CakePHP 关联:处理空 id
- javascript - Memo in Dynamic Form Field
- modbus - 我可以写一个输入寄存器吗?Modbus
- java - How to respond with appropriate error message through an API response to request made using Postman
- php - 尝试上传图像时未定义的索引(使用 jquery 验证和步骤)
- c# - C# program should generate signed ps1 script
- angular - 如何在 Angular 中更改导入组件的内容?
- c# - Cosmos DB - CreateCollectionIfNotExistsAsync 通用方法
- python - Vectorising Pandas - 使用另一列将列分配给数组值
- python - Python将类保存在内存中