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

Incorporate lower/upper bound views to KKTRHS #188

Open
sshin23 opened this issue Jul 5, 2022 · 0 comments
Open

Incorporate lower/upper bound views to KKTRHS #188

sshin23 opened this issue Jul 5, 2022 · 0 comments

Comments

@sshin23
Copy link
Member

sshin23 commented Jul 5, 2022

Currently, InteriorPointSolver keeps views of primal vectors, such as

x_lr, x_ur, dx_lr, dx_ur, etc.

We can create a new data structure PrimalVector and keep these views inside PrimalVector to make the data more structured. Any opinion about this @frapac? I was assuming these #TODO's are inserted by you :)

MadNLP.jl/src/IPM/IPM.jl

Lines 194 to 195 in 897acf1

dx_lr = view(d.xp, ind_cons.ind_lb) # TODO
dx_ur = view(d.xp, ind_cons.ind_ub) # TODO

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

No branches or pull requests

1 participant