optimization theory - LS