-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage constraints as functions (#242)
* Add domain constraints as function pointers list * Add first test with constraint function * Rename BaseFn in CstrFn * Implement constraint function as generic parameter * Add a Python binding and test * Fix GpFileFormat usage * Restore previous Builder API by introducing EgorFactory * Update interface documentation * Manage discrete variables for function constraints * Store function constraint values * Use fonction constraint value to determine best result * Add condition on GpFileFOrmat import * Add g24 Python test * Fix find result * Add function constraints scaling * Set default constraint tolerance to 1e-4 * Manage fonction constraint scaling and tolerance * Add G24 example with function constraints * Update docstrings * Linting * Make it work with nlopt * Bump MSRV version to 1.79
- Loading branch information
Showing
19 changed files
with
809 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.