rasmusmarak / TOSS

Trajectory Optimization for a Spacecraft Swarm Orbiting 67P/Churyumov-Gerasimenko.
GNU General Public License v3.0
3 stars 0 forks source link

Constrained optimization #37

Open rasmusmarak opened 1 year ago

rasmusmarak commented 1 year ago

Goal: Want to add constraints to reduce search space for optimizing the time variables in the chromosome (i.e time of maneuvers). For instance, the next time of maneuver should be greater than the time of the previous maneuver.

Issue: SADE does not support constraints, so our two options are either:

  1. Find another optimizer in pagmo that works with constraints.
  2. Do lagrangian relaxations to move constraints to objective (but in that case we'll also have work with the corresponding lagrangian multipliers)

_Originally posted by @gomezzz in https://github.com/rasmusmarak/67P-Swarm/pull/35#discussion_r1138664142_

rasmusmarak commented 1 year ago

We should have a further look at this. If we add constraints we can remove the parts of the code devoted to sorting order of maneuvers, adding maneuvers on top of each other (eg if they happen simultaneously, which is now possible and can potentially lead to a constrain violation on tot DV) and more. There are a number of constraints that would benefit the clarity of the udp and code in general (as well as for avoiding potential violations).

gomezzz commented 1 year ago

We should have a further look at this. If we add constraints we can remove the parts of the code devoted to sorting order of maneuvers, adding maneuvers on top of each other (eg if they happen simultaneously, which is now possible and can potentially lead to a constrain violation on tot DV) and more. There are a number of constraints that would benefit the clarity of the udp and code in general (as well as for avoiding potential violations).

Let's focus on finishing open PR and new optimization first 🙏 If we still have time then we can have a look but I doubt we will manage all this in one week?