brute force inducing input optimization for gpr and gpc (warning: slow)