From 6923ea24a099f8f24965762e8ca76f437c723b39 Mon Sep 17 00:00:00 2001 From: blewis2 Date: Fri, 23 Sep 2022 16:39:31 -0700 Subject: Silence verbose mip output --- pint/facets/plain/quantity.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pint/facets/plain/quantity.py b/pint/facets/plain/quantity.py index aba03f2..343c3b8 100644 --- a/pint/facets/plain/quantity.py +++ b/pint/facets/plain/quantity.py @@ -828,6 +828,7 @@ class PlainQuantity(PrettyIPython, SharedRegistryObject, Generic[_MagnitudeType] # use mip to select units from preferred units model = mip_Model() + model.verbose = 0 # Make one variable for each candidate unit -- cgit v1.2.1