@@ -330,8 +330,12 @@ def to_lp_file(
330330 constraints_to_file (
331331 m , f = f , progress = progress , batch_size = batch_size , slice_size = slice_size
332332 )
333- bounds_to_file (m , f = f , progress = progress , batch_size = batch_size , slice_size = slice_size )
334- binaries_to_file (m , f = f , progress = progress , batch_size = batch_size , slice_size = slice_size )
333+ bounds_to_file (
334+ m , f = f , progress = progress , batch_size = batch_size , slice_size = slice_size
335+ )
336+ binaries_to_file (
337+ m , f = f , progress = progress , batch_size = batch_size , slice_size = slice_size
338+ )
335339 integers_to_file (
336340 m ,
337341 integer_label = integer_label ,
@@ -574,7 +578,11 @@ def to_lp_file_polars(
574578 bounds_to_file_polars (m , f = f , progress = progress , slice_size = slice_size )
575579 binaries_to_file_polars (m , f = f , progress = progress , slice_size = slice_size )
576580 integers_to_file_polars (
577- m , integer_label = integer_label , f = f , progress = progress , slice_size = slice_size
581+ m ,
582+ integer_label = integer_label ,
583+ f = f ,
584+ progress = progress ,
585+ slice_size = slice_size ,
578586 )
579587 f .write (b"end\n " )
580588
@@ -608,7 +616,9 @@ def to_file(
608616 if io_api == "lp" :
609617 to_lp_file (m , fn , integer_label , slice_size = slice_size , progress = progress )
610618 elif io_api == "lp-polars" :
611- to_lp_file_polars (m , fn , integer_label , slice_size = slice_size , progress = progress )
619+ to_lp_file_polars (
620+ m , fn , integer_label , slice_size = slice_size , progress = progress
621+ )
612622
613623 elif io_api == "mps" :
614624 if "highs" not in solvers .available_solvers :
0 commit comments