File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -1666,7 +1666,9 @@ def solve_problem_from_model(
16661666 """
16671667
16681668 if env is not None :
1669- warnings .warn ("Argument 'env' in solve_problem_from_model" ,DeprecationWarning )
1669+ warnings .warn (
1670+ "Argument 'env' in solve_problem_from_model" , DeprecationWarning
1671+ )
16701672 with mosek .Task () as m :
16711673 m = model .to_mosek (m , explicit_coordinate_names = explicit_coordinate_names )
16721674
@@ -1713,7 +1715,9 @@ def solve_problem_from_file(
17131715 Result
17141716 """
17151717 if env is not None :
1716- warnings .warn ("Argument 'env' in solve_problem_from_model" ,DeprecationWarning )
1718+ warnings .warn (
1719+ "Argument 'env' in solve_problem_from_model" , DeprecationWarning
1720+ )
17171721 with mosek .Task () as m :
17181722 # read sense and io_api from problem file
17191723 sense = read_sense_from_problem_file (problem_fn )
You can’t perform that action at this time.
0 commit comments