Skip to content

[minor] Add integer/set optimization to the surface language#305

Merged
tnelson merged 10 commits intomainfrom
dev
Jun 16, 2025
Merged

[minor] Add integer/set optimization to the surface language#305
tnelson merged 10 commits intomainfrom
dev

Conversation

@tnelson
Copy link
Owner

@tnelson tnelson commented Apr 25, 2025

Release PR following #303

This PR implements the optimization features described here. The set-based optimization is still somewhat brittle, but the feature should be made available in preview form.

Known issues:

Combining a partial-instance bound and a partial-instance target is restricted and needs better documentation (e.g., the lower bound of the target must be contained in the upper bound of the run).
The hidden internal relations that convert an integer-optimization problem to a set-optimization problem persist between runs, even into runs that don't use integer optimization. (This is an architectural problem that will require a small amount of refactoring. Forge wasn't originally built to allow removing relations from the model.)

This PR also fixes the verbosity level that triggers collector spam for debugging; 5 ("HIGH") will no longer be enough.

Finally, this PR also expands the run-tests.sh script to no longer attempt to run the SMT backend tests if cvc5 is not on the path. (Aside: I don't have a lot of shell-script experience beyond the basics, so this is a place I would like to request extra review effort.)

tnelson and others added 7 commits February 27, 2025 07:29
…nd (#302)

* fix: handle spaces and quotes in forge filenames w.r.t. run IDs

* windows-specific test scripting

* add to gitignore

* remote temp file

* fix for windows
Merging integer/set optimization into dev branch.
@tnelson
Copy link
Owner Author

tnelson commented May 28, 2025

This PR will also add #307, avoiding identifier-name clashes.

@tnelson
Copy link
Owner Author

tnelson commented Jun 16, 2025

This PR also includes auto-loading CnD visualizer specs to Sterling.

@tnelson tnelson merged commit a5e7429 into main Jun 16, 2025
2 checks passed
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.

1 participant