Skip to content

Conversation

@moorepants
Copy link
Member

If you set the bounds or eom_bounds now, it is not actually setting them on the underlying Problem machinery. So we make them properties so they cannot be set (for now).

To make them settable we need to address the issue #418 and PR #421.

@moorepants moorepants merged commit 3fd4fd8 into csu-hmc:master Oct 31, 2025
42 of 48 checks passed
@Peter230655
Copy link
Contributor

The test of #464 will , rightly!, no longer work.

@moorepants
Copy link
Member Author

Yeh, sorry. But I didn't want to encode things in the tests that shouldn't be supported.

@Peter230655
Copy link
Contributor

I 100% agree! My test was wrong. I just wanted to remind you as I cannot right now correct it.

@moorepants moorepants deleted the bounds-property branch October 31, 2025 07:49
@Peter230655
Copy link
Contributor

In direct_collocation.py would we have to change in lines 340, 346, 358 self.eom_bounds to self._eom_bounds, etc?

@moorepants
Copy link
Member Author

You can access the variable you just can't set it.

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.

2 participants