Conversation
andrewrosemberg
commented
Aug 16, 2025
Collaborator
Author
|
Tests indicate 2 issues remaining:
function MOI.get(
model::Optimizer,
attr::MOI.ConstraintPrimal,
c::MOI.ConstraintIndex,
)
# optimizer_ci = get(model.constraint_outer_to_inner, c, c)
# value = MOI.get(model.optimizer, attr, optimizer_ci)
# inner_ci = model.constraint_outer_to_inner[c]
# if haskey(model.quadratic_constraint_cache_set, inner_ci)
# set = model.quadratic_constraint_cache_set[inner_ci]
# # TODO : this method will not work well due to the usage of
# of normalize and add. We need to add more info to cache
# end
return MOI.Utilities.get_fallback(model, attr, c)
end
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## jg/newdo #182 +/- ##
===========================================
Coverage ? 87.65%
===========================================
Files ? 5
Lines ? 1474
Branches ? 0
===========================================
Hits ? 1292
Misses ? 182
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
joaquimg
added a commit
that referenced
this pull request
Aug 19, 2025
* temp * fix and format * remove func * Adds support for VectorQuadraticFunction (#179) * add ParametricVectorQuadraticFunction * use at_variable and remove unecessary calls * start addressing variable coefficients * update tests * fix bugs * fix bug * update add constraint * update test * update jump test * fix test * rm update * update add_constraint * attemp replace * update functions * update * update * working first set * update tol * update tol * finish * change tests names * Apply suggestions from code review --------- Co-authored-by: Joaquim <joaquimdgarcia@gmail.com> * format * fix NLP block * continue fix NLP block * Fix TODOs New API (#182) * fix VariablePrimalStart * add get VariablePrimalStart * fix "is_valid" * fix ambiguity * format --------- Co-authored-by: joaquimg <joaquimdgarcia@gmail.com> * Ar/newdo (#183) * fix VariablePrimalStart * add get VariablePrimalStart * fix "is_valid" * fix ambiguity * format * add more vector tests --------- Co-authored-by: Andrew <arosemberg3@gatech.edu> * add tests and vec fucntionfix * format * Fix key vector quadratic and add tests (#184) * fix key vector quadratic * add new tests and fix affine cache * format * test constraint name set and get * add no parameter problem * fix test name * fix comment * force has_parameter and !_is_vector_affine * update coverage * remove useless function * update tests coverage * format and rm useless functions * improve tests to force coverage improvement * fix typo * Improve coverage (#187) * update tests and coverage * update tests * update tests * add copy to test * fix typo * format * fix typo * Improve coverage 2.0 (#188) * improve coverage 2.0 * format * fix typo * bump version --------- Co-authored-by: Andrew Rosemberg <andrewrosemberg@gmail.com> Co-authored-by: Andrew <arosemberg3@gatech.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.