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

Fix constraints warm-up. #156

Merged
merged 1 commit into from
Aug 20, 2022
Merged

Conversation

N5N3
Copy link
Contributor

@N5N3 N5N3 commented May 12, 2022

L598 pass ci into process_warm_start, but constraint_rows expects a ci_dest.

COSMO.jl/src/MOI_wrapper.jl

Lines 197 to 199 in 8689f76

ci_dest = idxmap[ci_src]
endrow = startrow + MOI.dimension(set) - 1
rowranges[ci_dest.value] = startrow : endrow

This PR just adds the missing index transform.

(I‘m not familiar with MOI interface. So it's hard for me to add a test for this.)

@CLAassistant
Copy link

CLAassistant commented May 12, 2022

CLA assistant check
All committers have signed the CLA.

@migarstka migarstka merged commit 104a6ba into oxfordcontrol:master Aug 20, 2022
@N5N3 N5N3 deleted the constraints-warm-up branch October 17, 2022 07:34
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.

3 participants