cooper-org / cooper

A general-purpose, deep learning-first library for constrained optimization in PyTorch
https://cooper.readthedocs.io/
MIT License
106 stars 10 forks source link

1.0.0 alpha #96

Closed merajhashemi closed 1 month ago

github-actions[bot] commented 1 month ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/cooper
  __init__.py 14-19
  cmp.py
  src/cooper/formulations
  formulations.py 89
  utils.py 154
  src/cooper/multipliers
  multipliers.py 28, 184
  penalty_coefficient_updaters.py 12, 27
  penalty_coefficients.py
  src/cooper/optim
  unconstrained_optimizer.py 31
  src/cooper/optim/constrained_optimizers
  alternating_optimizer.py 155
  extrapolation_optimizer.py 66
  simultaneous_optimizer.py 22
  src/cooper/optim/torch_optimizers
  extragradient.py 97-98, 166, 168, 170, 211, 242, 244, 246, 248, 260, 269, 271
  nupi_optimizer.py 90, 92, 94, 97, 105, 107, 109, 111, 126, 148-149, 154, 171-178, 212, 243, 271-272, 306-307, 315, 325, 351, 382-383
  tests
  test_cmp.py 52
  tests/constraints
  test_constraint_state.py
  tests/formulations
  test_formulation.py
  test_formulation_utils.py
  tests/helpers
  cooper_test_utils.py 254
  testing_utils.py 33, 38, 49, 52, 55, 58-60, 64, 67, 71, 74
  tests/multipliers
  test_explicit_multipliers.py
  test_penalty_coefficients.py
  tests/optim/torch_optimizers
  test_nupi.py 42
  tests/pipeline
  conftest.py 39, 66
  test_checkpoint.py
  test_manual.py 272
Project Total  

The report is truncated to 25 files out of 47. To see the full report, please visit the workflow summary page.

This report was generated by python-coverage-comment-action