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

feat: add attribute bound in variable.py #211

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

SylviaDu99
Copy link
Contributor

This is a draft PR for review and further implement.

Added attribute is_bounded, min_max to class Variable.

Targeting to fix #151, WIP


def test_variable__bound():
variable = tax_benefit_system.variables["variable__bound"]
print(variable.adds)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In your final version of this, could you delete this print statement?

@SylviaDu99 SylviaDu99 marked this pull request as ready for review June 3, 2024 23:56
Copy link
Contributor

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much for this, @SylviaDu99! Just reviewed this locally and all looks good.

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.

Variable attributes for bounds
2 participants