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 cfd1cdeCopy full SHA for cfd1cde
doc/release_notes.rst
@@ -1,8 +1,10 @@
1
Release Notes
2
=============
3
4
-.. Upcoming Version
5
-.. ----------------
+Upcoming Version
+----------------
6
+
7
+* Fix the `slice_size` argument in the `solve` function. The argument was not properly passed to the `to_file` function.
8
9
Version 0.4.0
10
--------------
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