-
Notifications
You must be signed in to change notification settings - Fork 1
block band structure #17
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
Conversation
Summary - mpecopt coverageSummary
Coverage- 15.5%
mpecopt - 62.4%
|
src/mpecopt_phase_ii.m
Outdated
| stats.lambda_x_opt = full(results_nlp.lam_x); | ||
| stats.n_active_ineq = sum(abs(lambda_g_opt(ind_g_ineq))>settings.tol); | ||
| stats.n_active_box = sum(abs((lambda_x_opt))>settings.tol & lbx_bnlp_k~=ubx_bnlp_k); | ||
| stats.lambda_g_opt = full(results_nlp.lam_g(dims.map_g)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated to you changes the multipliers should should be in results to be consistent with reg_homotopy?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea I think so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is very welcome. :D
|
running examples/cardinality_optimization.m shows that
|
|
also benchmarks are broken due to breaking the mpecopt_phase_ii |
| obj.lpec_casadi = lpec_casadi; | ||
| end | ||
|
|
||
| function [solution,stats] = phase_II(obj,mpec_casadi,lpec_casadi,dims,opts,solver_initialization,stats,phase_ii) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would make sense to have also phase_I as a method to be more consistent.
can be a seperate PR/issue for requesting refactoring.
| end | ||
|
|
||
|
|
||
| function X = all_combinations(varargin) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please add some comments what are these specalized functons doing and what are they needed for?
|
The benchmarks and other bugs should now have been fixed. |
nurkanovic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Lifting now maintains structure if a vdx mpcc is passed.