Skip to content

Conversation

joaquimg
Copy link
Member

@joaquimg joaquimg commented Jul 7, 2025

No description provided.

Copy link

codecov bot commented Jul 7, 2025

Codecov Report

Attention: Patch coverage is 88.11881% with 12 lines in your changes missing coverage. Please review.

Project coverage is 88.70%. Comparing base (fdb96c8) to head (c25669e).
Report is 3 commits behind head on jg/jumpapi.

Files with missing lines Patch % Lines
src/moi_wrapper.jl 88.88% 6 Missing ⚠️
src/diff_opt.jl 75.00% 4 Missing ⚠️
src/ConicProgram/ConicProgram.jl 85.71% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff               @@
##           jg/jumpapi     #294      +/-   ##
==============================================
- Coverage       89.10%   88.70%   -0.41%     
==============================================
  Files              16       16              
  Lines            1992     2054      +62     
==============================================
+ Hits             1775     1822      +47     
- Misses            217      232      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +610 to 613
# TODO check ci.value's
idx = model.cache.dual_mapping[ci.value]
return model.forw_grad_cache.dual_Δs[idx]
catch
Copy link
Member Author

Choose a reason for hiding this comment

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

@andrewrosemberg, this way of getting the map does not seem to match perfectly with the one below

@joaquimg joaquimg merged commit 45a388e into jg/jumpapi Jul 21, 2025
4 of 6 checks passed
@joaquimg joaquimg deleted the jg/newdo branch July 21, 2025 17:51
andrewrosemberg pushed a commit that referenced this pull request Aug 20, 2025
* prepare more tests

* sketch

* temp examples

* remove printing

* remove printing

* remove duplicatie def

* move definition

* format

* format

* simplify conic model

* force nlp on nlp tests

* fix param tests

* cleanup parameter usage

* remove code

* cleanup usage of parameters

* format

* add temp dep

* format

* add temp dep

* fix PSDSquare

* temp fix for tests

* format
joaquimg added a commit that referenced this pull request Aug 20, 2025
* initial sketch

* rm method

* add JuMP API and test it

* add diff_model test

* Fix conic error (#284)

* fix conic error

* use jump psd problem

* [docs] update to Documenter@1 (#286)

* [docs] update to Documenter@1

* Update

* update

* format

* Pass attributes through Objective.FunctionConversionBridge (#287)

* Pass attributes through Objective.FunctionConversionBridge

* Fix

* add test

* fix tol

* fix test

* add reverse test

---------

Co-authored-by: joaquimg <[email protected]>

* bump POI

* cleanup

---------

Co-authored-by: Oscar Dowson <[email protected]>
Co-authored-by: Benoît Legat <[email protected]>
Co-authored-by: joaquimg <[email protected]>

* fix parameters support

* Update jump-api pr (#294)

* prepare more tests

* sketch

* temp examples

* remove printing

* remove printing

* remove duplicatie def

* move definition

* format

* format

* simplify conic model

* force nlp on nlp tests

* fix param tests

* cleanup parameter usage

* remove code

* cleanup usage of parameters

* format

* add temp dep

* format

* add temp dep

* fix PSDSquare

* temp fix for tests

* format

* Improve name handling, cleanup parameter error messages, remove slack

* re-enable constraint names

* Integrate new POI (#302)

* integrate new POI

* remove test

* rm adhoc pkg add

* fix docs

* add POI test and docs

* rm test_solve_conflict

* format

* add parameter in cone test

* add back name constraint vect

* Update Project.toml

---------

Co-authored-by: Joaquim <[email protected]>

* add tests

* format

---------

Co-authored-by: Andrew Rosemberg <[email protected]>
Co-authored-by: Oscar Dowson <[email protected]>
Co-authored-by: Benoît Legat <[email protected]>
joaquimg added a commit that referenced this pull request Sep 22, 2025
* implement dual of parameter anywhere

* fix api and more tests

* format

* update docs

* update for appropriate API

* update documemtation

* format

* rm legacy function

* rm unecessary functions

* read necessary functions

* Update DiffOpt.jl

* fix bug indexing

* format

* initial sketch

* rm method

* add JuMP API and test it

* add diff_model test

* Fix conic error (#284)

* fix conic error

* use jump psd problem

* [docs] update to Documenter@1 (#286)

* [docs] update to Documenter@1

* Update

* update

* format

* Pass attributes through Objective.FunctionConversionBridge (#287)

* Pass attributes through Objective.FunctionConversionBridge

* Fix

* add test

* fix tol

* fix test

* add reverse test

---------

Co-authored-by: joaquimg <[email protected]>

* bump POI

* cleanup

---------

Co-authored-by: Oscar Dowson <[email protected]>
Co-authored-by: Benoît Legat <[email protected]>
Co-authored-by: joaquimg <[email protected]>

* fix parameters support

* Update jump-api pr (#294)

* prepare more tests

* sketch

* temp examples

* remove printing

* remove printing

* remove duplicatie def

* move definition

* format

* format

* simplify conic model

* force nlp on nlp tests

* fix param tests

* cleanup parameter usage

* remove code

* cleanup usage of parameters

* format

* add temp dep

* format

* add temp dep

* fix PSDSquare

* temp fix for tests

* format

* Improve name handling, cleanup parameter error messages, remove slack

* re-enable constraint names

* integrate new POI

* remove test

* rm adhoc pkg add

* fix docs

* add POI test and docs

* rm test_solve_conflict

* format

* add parameter in cone test

* add back name constraint vect

* Update Project.toml

* implement dual of parameter anywhere

* update for appropriate API

* format

* fix

* fix docs

* add error for non implemented backends

* fix error handeling

* format

* fix tests

* fix tests

* format

* improve coverage

* format

* bump version

* update docs

* udpate docs

* fix error dual objective sensitivity mention

* format

* fix typo

* fix typo

* Update docs/src/usage.md

Co-authored-by: Benoît Legat <[email protected]>

* Apply suggestion from @andrewrosemberg

* pin MLDatasets

* Apply suggestion from @joaquimg

Co-authored-by: Joaquim <[email protected]>

* Apply suggestion from @joaquimg

Co-authored-by: Joaquim <[email protected]>

* Apply suggestion from @joaquimg

Co-authored-by: Joaquim <[email protected]>

* Apply suggestion from @andrewrosemberg

* Apply suggestion from @andrewrosemberg

* Apply suggestion from @andrewrosemberg

* Apply suggestion from @andrewrosemberg

* rename objective_sensitivity_p

* fix tests

* update tests

* format

* rm dual and addition overloads

---------

Co-authored-by: joaquimg <[email protected]>
Co-authored-by: Oscar Dowson <[email protected]>
Co-authored-by: Benoît Legat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant