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

Add ability to fully represent units within cost objects, including FunctionData #53

Open
GabrielKS opened this issue Nov 15, 2024 · 0 comments
Assignees

Comments

@GabrielKS
Copy link

Right now, only one FunctionData field can be a pint.Quantity. It would be useful for the entire cost function API to be compatible with Pint units, including all FunctionData fields.

To go one step further, we might even validate the units of the FunctionData fields in relation to each other: for instance, for QuadraticFunctionData, there must exist some units Y and X such that constant_term has units Y, proportional_term has units Y/X, and quadratic_term has units Y/X^2. This is less important though.

@pesap pesap self-assigned this Nov 15, 2024
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

No branches or pull requests

2 participants