Skip to content

Commit

Permalink
csharp: ModelBuilderTests.cs support for USE_SCIP=OFF
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Nov 6, 2023
1 parent f4916ff commit a577f9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ortools/linear_solver/csharp/ModelBuilderTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ public void BasicApiTest()
model.Maximize(v3);

Solver solver = new Solver("scip");
if (solver is null)
{
return;
}
SolveStatus status = solver.Solve(model);
Assert.Equal(SolveStatus.OPTIMAL, status);

Expand Down

0 comments on commit a577f9b

Please sign in to comment.