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

Abstract inequalities constraints #122

Closed
jbcaillau opened this issue Oct 19, 2023 · 8 comments · Fixed by #162
Closed

Abstract inequalities constraints #122

jbcaillau opened this issue Oct 19, 2023 · 8 comments · Fixed by #162
Assignees

Comments

@jbcaillau
Copy link
Member

jbcaillau commented Oct 19, 2023

Looks like the for constraints, problem with one-sided case (check the call to the functional code)
IMG_2649

EDIT: should be fixed by [#123]

@jbcaillau
Copy link
Member Author

@jbcaillau check this

@ocots
Copy link
Member

ocots commented Jun 15, 2024

So?

@ocots ocots mentioned this issue Jun 15, 2024
13 tasks
@jbcaillau
Copy link
Member Author

See also #71

@jbcaillau jbcaillau mentioned this issue Jun 20, 2024
Merged
@PierreMartinon
Copy link
Member

@ocots @jbcaillau No idea if this is related, but I have some problems with inequalities as well: none of the three constraints on the control below are accepted, i get a ParsingError (unknown syntax or bad constraint)

@def ocp begin
    t ∈ [ 0, 1], time
    x ∈ R, state
    u ∈ R^2, control
    u_1(t) >= 0
    0 ≤ u_2(t)
	[0,0] ≤ u(t)

@ocots
Copy link
Member

ocots commented Jun 21, 2024

Yes it is!

@ocots
Copy link
Member

ocots commented Jun 21, 2024

It should be ok with the v0.10.0 of CTBase.jl package.

@jbcaillau
Copy link
Member Author

@PierreMartinon yes and no:

  • for single sided ineqs, should be expr <= or >= bound (not the converse order)
  • then it works indeed (bug fixed in v0.10.0)
    IMG_3270

@PierreMartinon
Copy link
Member

Ok thanks, it works indeed !
Still having some problems with the weird characters (subscripts) ...

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 a pull request may close this issue.

3 participants