Optimization Methods For Mixed-Integer Control Problems In Complex Systems