HF RL Explorer

Align the bounds API with scipy

Align the bounds API with scipy: a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Right now minimize and maximize take box constraints through four separate keyword arguments: lower bounds , upper bounds , soft lower bounds and soft upper bounds . This is clumsy and does not…

The task

Right now `minimize` and `maximize` take box constraints through four separate keyword arguments: `lower_bounds`, `upper_bounds`, `soft_lower_bounds` and `soft_upper_bounds`. This is clumsy and does not match what people are used to from `scipy.optimize`. We want a single, well-typed way to pass bounds.

Part of openmodelai/MiMo-V2.6-Code.