-
Notifications
You must be signed in to change notification settings - Fork 24
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
Align the type of inputs passed from cost to problem and model #358
Comments
Hi @NicolaCourtier, thanks for raising this. I'm keen to add the option to pass the In our current form, I very much like being able to do this: |
Hey @BradyPlanden, in the PR #352, I have kept the ability to pass values like this to the Further down the chain (from cost to problem to model), I think we need to keep the parameter names associated with the values in order to prevent against cases where values are passed to the incorrect parameter. Having said this, I have also kept the ability to pass values directly to |
Excellent, thanks for clarifying. That makes sense to me. |
Feature description
Align the
evaluate
andsimulate
functions of a problem/observer and model to accept only inputs of typeInputs
. Update theParameters
functionality to return dictionaries rather than arrays.Motivation
To continue improvements enabled by the addition of the Parameters class in #322 and work towards enabling optimisation of mulitple costs/problems/models with different or overlapping parameter sets.
Possible implementation
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: