Skip to content

Commit

Permalink
Update ftot_pulp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpearlson authored Apr 15, 2020
1 parent b41b700 commit 35aa9aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions program/ftot_pulp.py
Original file line number Diff line number Diff line change
Expand Up @@ -2182,8 +2182,7 @@ def create_opt_problem(logger, the_scenario, unmet_demand_vars, flow_vars, proce
# demand_commodity_name = u[2]
udp = u[3]
unmet_demand_costs.append(udp * unmet_demand_vars[u])

len(unmet_demand_costs)))


with sqlite3.connect(the_scenario.main_db) as main_db_con:
db_cur = main_db_con.cursor()
Expand Down

0 comments on commit 35aa9aa

Please sign in to comment.