ubi-agni / stack_of_tasks

1 stars 0 forks source link

Restructure Task class #5

Open rhaschke opened 2 years ago

rhaschke commented 2 years ago

Simplify Task class hierarchy. Currently, you distinguish between Task and TaskDesc. I suggest merging them, having finally the following members:

These are updated during compute():

These are updated during solve() and will allow for convergence check:

felixkol commented 2 years ago

9 implements everything but residual/violation and importance.

For both solvers residual/violation can be calculated easily.

Importance can only be calculated in the HQP solver (?). While iteration over the hierarchy, tasks occurring in later levels as null-space constraints will be assigned multiple importance values. How do we treat these?

rhaschke commented 2 years ago

Importance can only be calculated in the HQP solver (?).

Yes.

While iterating over the hierarchy, tasks occurring in later levels as null-space constraints will be assigned multiple importance values. How do we treat these?

I suggest keeping the first solution's values only.