Method for creating and choosing a determinate piloting strategy for flying an aircraft, comprising: a. generating an initial flight context comprising flight constraints that an aircraft must comply with during a flight; b. adding the initial flight context to a list of flight contexts, the flight contexts comprising a set of resolved and/or unresolved flight constraints comprising altitude and/or speed flight constraints, action sequences to be performed by an aircraft to meet the resolved flight constraints, and a fitness value allocated according to the sum of weights of all the action sequences used; c. selecting, from the list of flight contexts, a flight context with the highest fitness value; d. checking whether the selected flight context has unresolved flight constraints; e. if the selected flight context has one or more unresolved constraints: e1. expanding the selected flight context thereby obtaining at least one expanded flight context, each expanded flight context obtained by: selecting an action sequence that meets at least one unresolved flight constraint of the selected flight context; adding the selected action sequence to the action sequences of the selected flight context; moving the at least one unresolved flight constraint addressed by the selected action sequence from the set of unresolved flight constraints to the set of resolved flight constraints of the selected flight context; allocating a fitness value to the expanded flight context; e2. adding the at least one expanded flight context to the list of flight contexts; e3. repeating the process described in steps "c" to "e"; f. if the selected flight context has no unresolved constraints, choosing the selected flight context for flying the aircraft, and; g. flying the aircraft by performing the action sequences of the chosen flight context. a. generating an initial flight context comprising flight constraints that an aircraft must comply with during a flight; b. adding the initial flight context to a list of flight contexts, the flight contexts comprising a set of resolved and/or unresolved flight constraints comprising altitude and/or speed flight constraints, action sequences to be performed by an aircraft to meet the resolved flight constraints, and a fitness value allocated according to the sum of weights of all the action sequences used; c. selecting, from the list of flight contexts, a flight context with the highest fitness value; d. checking whether the selected flight context has unresolved flight constraints; e. if the selected flight context has one or more unresolved constraints: e1. expanding the selected flight context thereby obtaining at least one expanded flight context, each expanded flight context obtained by: selecting an action sequence that meets at least one unresolved flight constraint of the selected flight context; adding the selected action sequence to the action sequences of the selected flight context; moving the at least one unresolved flight constraint addressed by the selected action sequence from the set of unresolved flight constraints to the set of resolved flight constraints of the selected flight context; allocating a fitness value to the expanded flight context; e2. adding the at least one expanded flight context to the list of flight contexts; e3. repeating the process described in steps "c" to "e"; e1. expanding the selected flight context thereby obtaining at least one expanded flight context, each expanded flight context obtained by: selecting an action sequence that meets at least one unresolved flight constraint of the selected flight context; adding the selected action sequence to the action sequences of the selected flight context; moving the at least one unresolved flight constraint addressed by the selected action sequence from the set of unresolved flight constraints to the set of resolved flight constraints of the selected flight context; allocating a fitness value to the expanded flight context; selecting an action sequence that meets at least one unresolved flight constraint of the selected flight context; adding the selected action sequence to the action sequences of the selected flight context; moving the at least one unresolved flight constraint addressed by the selected action sequence from the set of unresolved flight constraints to the set of resolved flight constraints of the selected flight context; allocating a fitness value to the expanded flight context; e2. adding the at least one expanded flight context to the list of flight contexts; e3. repeating the process described in steps "c" to "e"; f. if the selected flight context has no unresolved constraints, choosing the selected flight context for flying the aircraft, and; g. flying the aircraft by performing the action sequences of the chosen flight context.