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 wrap an existing MX symbolic object in opti variable. #5

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

nxtruong
Copy link

The constructors of various optistack classes are changed so that they can take an existing MX symbolic object and wrap it in the optistack object. This is useful in cases when one wants to reuse existing code that creates casadi objects and expressions / constraints.

Copy link
Member

@jgillis jgillis left a comment

Choose a reason for hiding this comment

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

Nice to see you building on top of optistack!
Sorry I was not responsive so far; got a lot of stuff going on.

The repo here is in fact a proof of concept.
Meanwhile, I've been working on a C++ implementation for optistack. Chances are this will become part of regular casadi.

But don't let that info spoil your fun of extending this matlab version!

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