properly use objective constant
temporary fix for mathprogbase