Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
ERGO-Code
/
HiGHS
Public
Notifications
You must be signed in to change notification settings
Fork
351
Star
1.8k
Code
Issues
109
Pull requests
11
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Knapsack count
- #2482
#2482
Closed
jajhall
wants to merge 15 commits into
latest
ERGO-Code/HiGHS:latest
from
knapsack-count
ERGO-Code/HiGHS:knapsack-count
Copy head branch name to clipboard
Conversation
Commits
15
(15)
Checks
Files changed
Closed
Knapsack count
#2482
jajhall
wants to merge 15 commits into
latest
ERGO-Code/HiGHS:latest
from
knapsack-count
ERGO-Code/HiGHS:knapsack-count
Copy head branch name to clipboard
Commits
Commits on Jul 31, 2025
Introduced HighsKnapsackData struct in HighsMipSolverData.h, and adding in data from sub-MIPs; now to generate data!
jajhall
committed
4e5ca6f
View commit details
Copy full SHA for 4e5ca6f
Browse repository at this point
Created knapsack unit test, and recognising knapsack problem in MIP solver
jajhall
committed
7da8617
View commit details
Copy full SHA for 7da8617
Browse repository at this point
Integrated knapsack solver: now debug its use
jajhall
committed
74387dd
View commit details
Copy full SHA for 74387dd
Browse repository at this point
Knapsack solver looks correct; clean up some names
jajhall
committed
10839f7
View commit details
Copy full SHA for 10839f7
Browse repository at this point
Now to tighten HighsLp::isKnapsack
jajhall
committed
d7dd70c
View commit details
Copy full SHA for d7dd70c
Browse repository at this point
After refactoring it still works
jajhall
committed
c7cdd52
View commit details
Copy full SHA for c7cdd52
Browse repository at this point
After refactoring it still works
jajhall
committed
da76f03
View commit details
Copy full SHA for da76f03
Browse repository at this point
Now demanding integer knapsack weights, but rounding down any fractional capacity
jajhall
committed
1b5ef6a
View commit details
Copy full SHA for 1b5ef6a
Browse repository at this point
Now demanding integer knapsack weights, but rounding down any fractional capacity
jajhall
committed
0dde780
View commit details
Copy full SHA for 0dde780
Browse repository at this point
Clean up Knapsack MIPs logging
jajhall
committed
b9b74de
View commit details
Copy full SHA for b9b74de
Browse repository at this point
Neater knapsack logging in MIP solving report; formatted
jajhall
committed
64101a4
View commit details
Copy full SHA for 64101a4
Browse repository at this point
Fixed bug extracting knapsack solver results; formatted
jajhall
committed
b2e3f1d
View commit details
Copy full SHA for b2e3f1d
Browse repository at this point
Commits on Aug 1, 2025
Moved isKnapsack to HighsMipSolverData::mipIsKnapsack
jajhall
committed
6f6333c
View commit details
Copy full SHA for 6f6333c
Browse repository at this point
Incorporated integral scaling into mipIsKnapsack
jajhall
committed
671ff75
View commit details
Copy full SHA for 671ff75
Browse repository at this point
Now timing knapsack est/solve and (also) looking for knapsack after presolve; formatted
jajhall
committed
d84a6b6
View commit details
Copy full SHA for d84a6b6
Browse repository at this point
You can’t perform that action at this time.