Dear Ravi,
unfortunately it seems that we don't have an "out of box" solution for your quite interesting task in Singular right now.
In order to help you we would need some more details, maybe along the following lines:
- how do you do that by hand?
- any standard approaches for that?
- are there any literature references concerning similar problems?
Thanks for trying Singular and
Best regards,
Oleksandr Motsak