Serial-Parallel Optimization Kit in C