baybe icon indicating copy to clipboard operation
baybe copied to clipboard

Add Continuous Interpoint Constraints

Open AVHopp opened this issue 4 months ago • 4 comments

This PR adds continuous interpoint constraints, and is the re-visited version of #345.

It is for now in draft state as I am currently re-visiting the old version of this branch and investigate what we can use.

I am also explicitly tagging @StefanPSchmid here as he was interested in this feature and planned to potentially implement a variant for discrete spaces.

Fork for example and userguide: https://avhopp.github.io/baybe_dev/latest/examples/Constraints_Continuous/interpoint.html and https://avhopp.github.io/baybe_dev/latest/userguide/constraints.html#continuous-constraints

AVHopp avatar Aug 19 '25 08:08 AVHopp

Work in progress; it actually seems like my old code can be used without any problems. Following things are still missing:

  • [x] Tests
  • [x] Example
  • [x] Userguide
  • [ ] Investigation on using interpoint constraints with CardinalityConstraints - since the sampling is done different when those constraints are present, we need to investigate.

AVHopp avatar Aug 19 '25 19:08 AVHopp

@AdrianSosic @Scienfitz please see here for the current versions of user guide and example: https://avhopp.github.io/baybe_dev/latest/examples/Constraints_Continuous/interpoint.html and https://avhopp.github.io/baybe_dev/latest/userguide/constraints.html#continuous-constraints

AVHopp avatar Sep 23 '25 13:09 AVHopp

Temporarily marked as "On Hold" as I won't be able to work on this for the next 2 weeks and no progress will happen here in that time.

AVHopp avatar Oct 07 '25 11:10 AVHopp

NOTE: This has not been rebased onto main on purpose to simplify the discussion on individual commits

AVHopp avatar Oct 24 '25 14:10 AVHopp