python: Fix tests when SCIP and COINOR are disabled (#3261)
This commit is contained in:
@@ -23,6 +23,8 @@ def main():
|
||||
# [START solver]
|
||||
# Create the linear solver with the GLOP backend.
|
||||
solver = pywraplp.Solver.CreateSolver('GLOP')
|
||||
if not solver:
|
||||
return
|
||||
# [END solver]
|
||||
|
||||
# [START variables]
|
||||
|
||||
Reference in New Issue
Block a user