Skip to content

Commit

Permalink
Change the default value for the flat argument of AMPL.get_solution
Browse files Browse the repository at this point in the history
  • Loading branch information
fdabrandao committed May 20, 2024
1 parent 697ec62 commit e27346e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amplpy/ampl.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ def get_iis(self):
)
return df_var, df_con

def get_solution(self, flat=False, zeros=False):
def get_solution(self, flat=True, zeros=False):
"""
Get solution values for all variables.
Expand Down

0 comments on commit e27346e

Please sign in to comment.