Skip to content

Conversation

@SCiarella
Copy link
Collaborator

@SCiarella SCiarella commented Jan 6, 2026

Target issue #41.

In implementing the partitioning module, I have realized that the x-values of Afgen tables are actually not fully differentiable (see test_x_breakpoint_at_clamp in test_utils.py). I belive that in a real scenario, the user will be interested in optimizing the y-values but not the x-values, so I am just ignoring them in test_partitioning.

More than once during the tests the _check_partitioning warning gets triggered, suggesting that the sum of the partitions is not 1. To me this behavior looks suspicious, however the tests produce the expected results.

@SCiarella SCiarella changed the title Attempt to make differentiable Partitioning differentiable/vectorized Jan 6, 2026
@SCiarella SCiarella changed the title Partitioning differentiable/vectorized Make 'partitioning' differentiable/vectorized Jan 7, 2026
Base automatically changed from gpu to main January 8, 2026 15:39
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

@SCiarella SCiarella marked this pull request as ready for review January 9, 2026 13:28
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.

2 participants