Using semi-independent variables to enhance optimization search