Nechba commited on
Commit
b96888a
verified
1 Parent(s): b180dff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ def get_output(df,df1,df2):
80
  model.capacity_constraint = Constraint(model.K, model.M, rule=capacity_constraint)
81
 
82
  # Solver
83
- solver = SolverFactory('glpk',solver_io="python") # Example using GLPK
84
  result = solver.solve(model, tee=True)
85
 
86
  Months= ['Janvier', 'F茅vrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Ao没t', 'Septembre', 'Octobre', 'Novembre', 'D茅cembre']
 
80
  model.capacity_constraint = Constraint(model.K, model.M, rule=capacity_constraint)
81
 
82
  # Solver
83
+ solver = SolverFactory('gurobi',solver_io="python") # Example using GLPK
84
  result = solver.solve(model, tee=True)
85
 
86
  Months= ['Janvier', 'F茅vrier', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Ao没t', 'Septembre', 'Octobre', 'Novembre', 'D茅cembre']