I am currently working on solving an MIQP problem where the objective function is defined as v'Wv. Since W has been confirmed to be a positive definite matrix, the objective value should theoretically be greater than zero. However, I am encountering a situation where I am getting a negative value when using
model->get(GRB_DoubleAttr_ObjVal). This has left me feeling puzzled and uncertain about the result.
Please sign in to leave a comment.