-
Notifications
You must be signed in to change notification settings - Fork 28
Feature/nl formulation #29
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
Closed
Closed
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
88ebe91
add nl formulation function stubs
jlalbers fae8bb1
move multiprocess import to top of file
jlalbers f20dbf3
Functional nl formulation
jlalbers c7a7a66
Move sampling to __main__
jlalbers dbaa866
add build_nl() function
jlalbers 1307b74
require `dwave-optimization 0.3.0` for scalar broadcasting
jlalbers 73e8fdc
add nl model validation function to utils.py
jlalbers 680f8bb
refactor `msgs` to module constant
jlalbers 63595ad
add ModelParams dataclass
jlalbers a65c2f6
refactor build_nl to use ModelParams
jlalbers 513c815
move ModelParams to utils
jlalbers aff21f3
update validation functions to use ModelParams
jlalbers 99d1abe
remove unused import
jlalbers 6a3c9e0
add time limit heuristic for run_nl
jlalbers db02c64
update manager constraint to equality instead of geq
jlalbers ec1839b
add build_schedule_from_state function
jlalbers caed39d
fix FutureWarning in build_random_sched function
jlalbers e3284b0
change parameter from BinaryVariable to state ndarray
jlalbers 11075f1
add unit tests for NL formulation
jlalbers 19161de
add solver options to app_configs.py
jlalbers 3e55fc8
add solver selection dropdown to control card
jlalbers 2ba145a
fix max_consecutive_shifts constraint in cqm formulation so that the …
jlalbers 86e1ec5
fix Solver dropdown value initialization
jlalbers 105dd9a
add NL solver to run_optimization callback
jlalbers 26d5407
fix error message string
jlalbers bba4021
add .venv to gitignore
jlalbers d1f4bb6
delete nl_formulation.py development file
jlalbers 8d47156
fix shift label bug with NL error msgs
jlalbers 3a19e58
remove time limit heuristic
jlalbers 3a80f5f
create SolverType enum
jlalbers 801eb22
remove SOLVERS option from app_configs
jlalbers 8950790
add `dropdown` function to app_html
jlalbers 79b8610
refactor solver dropdown to use `dropdown` function
jlalbers cb3e2e3
refactor presets dropdown to use `dropdown` function
jlalbers 3ad7d4f
change SolverType.NL label
jlalbers 4178948
use SolverType in app.py
jlalbers 40a571e
fix typo in utils.py
jlalbers ca13584
remove print debug statement in employee_scheduling.py
jlalbers 2d1893a
refactor key/value assignments out of loop in utils.py
jlalbers 0f5edb6
use `MSGS` global variable direclty in `run_cqm`
jlalbers 6475aa2
fix bug accessing SolverType.label
jlalbers c9483d5
refactor consecutive shift arrays to variable
jlalbers a5c2146
change '==' comparison to 'is' for readability in app.py
jlalbers 623d033
Update employee_scheduling.py
jlalbers 2eb1a79
edit implementation of ModelParams and nl validation functions
jlalbers 5af20b6
refactor functions to use individual parameters instead of ModelParams
jlalbers 7536567
unpack `params` into function arguments
jlalbers 1a024bc
add comment to clarify changing of assignment value from 2 to 100 in …
jlalbers 95aeacd
update tests to use `asdict` with ModelParams
jlalbers 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 hidden or 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 |
|---|---|---|
|
|
@@ -2,3 +2,4 @@ __pycache__/ | |
| *.py[cod] | ||
| *$py.class | ||
| cache.db* | ||
| .venv | ||
This file contains hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.