Hello,
Unfortunately for PPDS optimizer both of these constrains are pseudo hard constraints. Please refer following SAP consulting notes for more details on PPDS optimizer restrictions..
1171154 - Planning of container resources with the PP/DS Optimizer
689101 - PP/DS optimization consulting
712066 - Restrictions of the Production Planning and Detailed Scheduling (PP/DS) optimizer
May be what you are looking for can be done via SNP optimizer + MRP areas for Sloc + Storage Resources.
You can have multiple resources as alternative modes.
Regards
Abhishek