24int main(
int argc,
char* argv[]) {
28 std::unique_ptr<operations_research::GScip> gscip = *std::move(gscip_or);
30 const auto x_or = gscip->AddVariable(
33 SCIP_VAR*
const x = *x_or;
36 QCHECK_EQ(gscip->Lb(x), 0.5);
37 QCHECK_EQ(gscip->Ub(x), 1.5);
40 gscip->SetUb(x, 2.0).IgnoreError();
43 gscip->SetLb(x, -1.0).IgnoreError();