renamed cyclopts to optim