Skip to content
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

Always on param math changes #8

Open
wants to merge 1 commit into
base: feature/params-always-never
Choose a base branch
from

Conversation

atiselsts
Copy link
Owner

When optimizing a model with always-on parameters, the parameters are included in the ranges as usual.

The problem: for example, if there are 2 always-on parameters, and the parameter selection strategry is configured as:

"parameters": [{
	"type": "exhaustive",
	"range": [1, 2]
}]

then only one optimization job will be created. If there are 3 always-on parameters, then with the above config no jobs will be created.

This PR changes this behavior to effectively use this dynamic parameter selection range instead:

 range: [1 + number_of_always_on_parameters, 2 + number_of_always_on_parameters]

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