Skip to content
Snippets Groups Projects
Commit 50f0570d authored by Ling Jin's avatar Ling Jin
Browse files

Merge remote-tracking branch 'origin/main' into main

# Conflicts:
#	main.py
parents 5408da93 2fe7208c
Branches
No related tags found
No related merge requests found
<<<<<<< HEAD
from pyomo.environ import *
from pyomo.opt import SolverFactory
......@@ -19,3 +20,10 @@ result = SolverFactory("glpk").solve(model)
model.pprint()
model.display()
=======
l = ['a', 'x', 'b', 'x', 'c', 'x']
print(l)
l.pop(2) # remove the first item with value 'x'
print(l)
>>>>>>> origin/main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment