Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ERGO-Code/HiGHS
/ multi_objective.py
File
multi_objective.py
examples/multi_objective.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# Multi-objective binary knapsack example
2
from
highspy
import
Highs, HighsLinearObjective
3
import
numpy
as
np
4
Callers
nothing calls this directly
Calls
10
Highs
Class · 0.90
individual_objectives
Function · 0.85
manual_lexicographic
Function · 0.85
manual_weighted
Function · 0.85
highs_lexicographic
Function · 0.85
highs_weighted
Function · 0.85
addBinaries
Method · 0.80
addConstr
Method · 0.80
sum
Method · 0.80
silent
Method · 0.45
Tested by
no test coverage detected