25int main(
int argc,
char* argv[]) {
29 std::unique_ptr<operations_research::GScip> gscip = *std::move(gscip_or);
31 const auto x_or = gscip->AddVariable(
34 SCIP_VAR*
const x = *x_or;
38 QCHECK_EQ(gscip->Lb(x), 0.25);
39 QCHECK_EQ(gscip->Ub(x), 1.25);
45 QCHECK_EQ(gscip->Lb(x), 0.25);
46 QCHECK_EQ(gscip->Ub(x), 1.25);
51 QCHECK_OK(gscip->SetLb(x, 0.25));
52 QCHECK_OK(gscip->SetUb(x, 1.25));
58 QCHECK_EQ(gscip->Lb(x), 1.0);
59 QCHECK_EQ(gscip->Ub(x), 1.0);