private LinearObjectiveFunction convertLinObjFun(IConstructor c) { double[] coefficients = convertRealList(LLObjectiveFun_llObjFun_coefficients(c)); double constant = LLObjectiveFun_llObjFun_const(c); return new LinearObjectiveFunction(coefficients, constant); }
LinearObjectiveFunction target = new LinearObjectiveFunction(coefficientsTarget,constTerm);