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

Express constraints on specific values in a list #1796

Open
bmaclach opened this issue Aug 2, 2019 · 2 comments
Open

Express constraints on specific values in a list #1796

bmaclach opened this issue Aug 2, 2019 · 2 comments
Assignees

Comments

@bmaclach
Copy link
Collaborator

bmaclach commented Aug 2, 2019

Currently in Drasil, constraints can either be expressed as a Range, EnumeratedReal, or EnumeratedStr.

Another type of constraint we need to express are constraints on specific elements of a list. An example in SSP is that the first and last elements of the list xwt must be the same as the first and last elements of the list xslope.

This might be more an issue of adding to Expr a way to access an element of a vector. It also requires being able to express constraints on equality, but related issue #1795 covers that.

@JacquesCarette
Copy link
Owner

You are correct that the right way to do this first involves fixing #1795 and then to change Expr to do indexing properly.

@JacquesCarette
Copy link
Owner

So that last part probably is best done by me - and thus the correct assignees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

3 participants