We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
slice_size
1 parent e314847 commit 3e49987Copy full SHA for 3e49987
doc/release_notes.rst
@@ -4,6 +4,11 @@ Release Notes
4
.. Upcoming Version
5
.. ----------------
6
7
+Version 0.4.1
8
+--------------
9
+
10
+* Fix the `slice_size` argument in the `solve` function. The argument was not properly passed to the `to_file` function.
11
12
Version 0.4.0
13
--------------
14
linopy/model.py
@@ -1124,7 +1124,9 @@ def solve(
1124
env=env,
1125
)
1126
else:
1127
- problem_fn = self.to_file(to_path(problem_fn), io_api)
+ problem_fn = self.to_file(
1128
+ to_path(problem_fn), io_api, slice_size=slice_size
1129
+ )
1130
result = solver.solve_problem_from_file(
1131
problem_fn=to_path(problem_fn),
1132
solution_fn=to_path(solution_fn),
0 commit comments