Optimize a goal vector using incremental solve