-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
54 multiplier models #66
Open
IsitaRex
wants to merge
61
commits into
cooper-org:54-multiplier-models
Choose a base branch
from
IsitaRex:54-multiplier-models
base: 54-multiplier-models
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
bba4cb1
Create multiplier_model.py
IsitaRex e134386
Update multiplier_model.py
IsitaRex 88fdb5f
Update logistic_regression.ipynb
IsitaRex d3cb8d0
Create test_multiplier_model.py
IsitaRex da5de4a
Update Multiplier Model to inherit from multipliers
IsitaRex 4c8ec04
Update multipliers.py
IsitaRex c26ce46
Update __init__.py
IsitaRex 0d3fa08
Update __init__.py
IsitaRex eef8eb6
Update lagrangian_model.py
IsitaRex d1868ce
Update multiplier_model.py
IsitaRex cc92995
Update multipliers.py
IsitaRex 812f54b
Create test_lagrangian_model.py
IsitaRex c4431f5
Update test_multiplier_model.py
IsitaRex 1faa097
Update test_lagrangian_model.py
IsitaRex 6ddb61a
MM and Lagrangian Model work and pass tests
daoterog fd84696
Correction - Add again proxy constraints to model formulation
daoterog af39b27
Add proxy constraints to toy problem
daoterog 4eb714d
Fix test_lagrangian_model test and tol from convergence test
daoterog fcbda77
Fixed convergence tolerance
daoterog 90eed1d
Refactor to integrate large toy problem in buil tests
daoterog 883c5c9
Add flip gradients to formulations
daoterog b3075fe
Add missing argument
daoterog ad79921
Optimizer pending changes
daoterog 6de574d
Pending todo
daoterog 36abc70
Experiment to compare model form with regular form
daoterog 1fe0fc3
Ignore wandb logs
daoterog 97c9e88
Extend build_test_problem to encompass model form
daoterog 183b955
Rewrite tests for current multiplier model object
daoterog 38f3841
New experiment setting
daoterog 943c46e
Change in third constraint and constraint features
daoterog c129db4
Black formatting
daoterog af1811e
Update model_form_vs_lag_form.py
IsitaRex ff3d9e2
Add mock model fomulation
daoterog c4093bf
Fix by black and isort
IsitaRex a7426ae
Merge remote-tracking branch 'upstream/dev' into dev
IsitaRex cc894bf
Merge branch 'dev' into 54-multiplier-models
IsitaRex 26b327e
Remove MockLagrangianModelFormulation
IsitaRex 9e58b63
Black
IsitaRex 6248b6b
Remove wandb from gitignore
IsitaRex 4a80910
Add comment about accessing gradients of module
IsitaRex 3de5a3e
Comment to change grad function name.
IsitaRex d2b3a35
Add missing documentation
daoterog 695ed73
Correct documentation
daoterog cceee8c
Modify flip gradients, add flag to multiplier projection
daoterog de01f2e
Fix circular import and add typehint to grad func
daoterog 3304242
Removed unnecessary TODO
daoterog 92143ab
Simplify object for test
daoterog a8bc041
Remove comments on alterntive implementation
daoterog a643e1a
Make test more simple
daoterog cc76eb1
Formatting
daoterog a7b07b4
Change todo to git username
daoterog 1a61dd5
Add CMPModelState, fix state, state_dict, load_state_dict, and flip_d…
daoterog 6ef151f
Fix and add TODOs
daoterog 1bb3bc3
Add RuntimeError to unused methods
daoterog fdaff32
Add git username to TODO
daoterog 5cd667a
Add git username to TODO
daoterog fcbff54
Add CMPModelState to convergence test
daoterog 2d47807
Black fromatting
daoterog 96705a5
Pending fix on circular import and correct type hint
daoterog e8a2b32
Properly implement exhaustive tests with fixtures and parameters
daoterog 4f8b6ed
Updated type hints with CMPModelState
daoterog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from .augmented_lagrangian import AugmentedLagrangianFormulation | ||
from .formulation import Formulation, UnconstrainedFormulation | ||
from .lagrangian import LagrangianFormulation, ProxyLagrangianFormulation | ||
from .lagrangian_model import LagrangianModelFormulation |
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove repeated class