js: optimistic value using linear relaxtion for branch and bound