Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ERGO-Code/HiGHS
/ distillation.py
File
distillation.py
examples/distillation.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# model and solve the problem, first as an LP, then as a MIP
2
#
3
# minimize 8 TypeA + 10 TypeB
4
# s. t. 2 TypeA + 2 TypeB >= 7: Product1
Callers
nothing calls this directly
Calls
15
Highs
Method · 0.80
addVariables
Method · 0.80
addConstrs
Method · 0.80
setMinimize
Method · 0.80
variableValue
Method · 0.80
variableDual
Method · 0.80
vals
Method · 0.80
allVariableValues
Method · 0.80
allVariableNames
Method · 0.80
constrValue
Method · 0.80
constrDual
Method · 0.80
constrValues
Method · 0.80
Tested by
no test coverage detected