Subplex optimization algorithm