Skip to content

Add solver params; update main function API#3

Merged
Luis-Varona merged 1 commit intomainfrom
develop
Jun 6, 2025
Merged

Add solver params; update main function API#3
Luis-Varona merged 1 commit intomainfrom
develop

Conversation

@Luis-Varona
Copy link
Copy Markdown
Owner

Added fields to the solver structs where needed (or, at least, indicated with a TODO that fields should be added instead of leaving the struct trivial). Updated the main function API to assert out of the gate that the matrix is square and to copy to avoid shared mutability. Also made the DEFAULT_SOLVER behavior more elegant with a default arg. Finally, corrected the (unfinished) approach docstring in types.jl.

@Luis-Varona Luis-Varona self-assigned this Jun 6, 2025
Added fields to the solver structs where needed (or, at least, indicated with a TODO that fields should be added instead of leaving the struct trivial). Updated the main function API to assert out of the gate that the matrix is square and to copy to avoid shared mutability. Also made the DEFAULT_SOLVER behavior more elegant with a default arg. Finally, corrected the (unfinished) approach docstring in types.jl.
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/minimize_bandwidth.jl 0.00% 6 Missing ⚠️
src/exact/mbid.jl 0.00% 1 Missing ⚠️
src/exact/mbps.jl 0.00% 1 Missing ⚠️
src/heuristic/cuthill_mckee.jl 0.00% 1 Missing ⚠️
src/heuristic/reverse_cuthill_mckee.jl 0.00% 1 Missing ⚠️
src/metaheuristic/genetic_algorithm.jl 0.00% 1 Missing ⚠️
src/metaheuristic/grasp.jl 0.00% 1 Missing ⚠️
src/metaheuristic/simulated_annealing.jl 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Luis-Varona Luis-Varona merged commit 6bbabde into main Jun 6, 2025
8 checks passed
@tmigot tmigot mentioned this pull request Oct 10, 2025
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants