Polynomial program.