This is a design discussion @bqpd since I will need to do this for some new functionality I'm planning for robust. I would like to track the original parents of each new constraint or GPkit object created in robust so I can easily call some attributes of the parents. I could do this by adding .parent to every robust object AND every gpkit object, but that seems horrendously cumbersome. Is there any code magic that can be done instead?
This is a design discussion @bqpd since I will need to do this for some new functionality I'm planning for robust. I would like to track the original parents of each new constraint or GPkit object created in robust so I can easily call some attributes of the parents. I could do this by adding .parent to every robust object AND every gpkit object, but that seems horrendously cumbersome. Is there any code magic that can be done instead?