diff --git a/casadi-bindings.cabal b/casadi-bindings.cabal
--- a/casadi-bindings.cabal
+++ b/casadi-bindings.cabal
@@ -1,5 +1,5 @@
 name:                casadi-bindings
-version:             3.0.0.4
+version:             3.0.0.5
 synopsis:            mid-level bindings to CasADi
 category:            Numerical, Math
 description:
diff --git a/src/Casadi/DM.hs b/src/Casadi/DM.hs
--- a/src/Casadi/DM.hs
+++ b/src/Casadi/DM.hs
@@ -235,6 +235,10 @@
   {-# NOINLINE gt #-}
   x  `eq` y = unsafePerformIO (C.casadi_eq__2 x y)
   {-# NOINLINE eq #-}
+  max' x y = cmax x y
+  {-# NOINLINE max' #-}
+  min' x y = cmin x y
+  {-# NOINLINE min' #-}
 
 instance Erf DM where
   erf x = unsafePerformIO (C.casadi_erf__2 x)
diff --git a/src/Casadi/MX.hs b/src/Casadi/MX.hs
--- a/src/Casadi/MX.hs
+++ b/src/Casadi/MX.hs
@@ -237,6 +237,10 @@
   {-# NOINLINE gt #-}
   x  `eq` y = unsafePerformIO (C.casadi_eq__4 x y)
   {-# NOINLINE eq #-}
+  max' x y = cmax x y
+  {-# NOINLINE max' #-}
+  min' x y = cmin x y
+  {-# NOINLINE min' #-}
 
 instance Erf MX where
   erf x = unsafePerformIO (C.casadi_erf__4 x)
diff --git a/src/Casadi/Overloading.hs b/src/Casadi/Overloading.hs
--- a/src/Casadi/Overloading.hs
+++ b/src/Casadi/Overloading.hs
@@ -85,6 +85,10 @@
   gt :: a -> a -> a
   -- | @==@
   eq :: a -> a -> a
+  -- | max without (==)
+  max' :: a -> a -> a
+  -- | min without (==)
+  min' :: a -> a -> a
 
 instance SymOrd Double where
   x `leq` y = if x <= y then 1 else 0
@@ -92,12 +96,16 @@
   x `geq` y = if x >= y then 1 else 0
   x  `gt` y = if x >  y then 1 else 0
   x  `eq` y = if x == y then 1 else 0
+  max' = max
+  min' = min
 instance SymOrd Float where
   x `leq` y = if x <= y then 1 else 0
   x  `lt` y = if x <  y then 1 else 0
   x `geq` y = if x >= y then 1 else 0
   x  `gt` y = if x >  y then 1 else 0
   x  `eq` y = if x == y then 1 else 0
+  max' = max
+  min' = min
 
 -- | @ifLeqThen x y ifX ifY == if x <= y then ifX else ifY@
 -- >>> ifLeqThen 41 42 100 200 :: Double
diff --git a/src/Casadi/SX.hs b/src/Casadi/SX.hs
--- a/src/Casadi/SX.hs
+++ b/src/Casadi/SX.hs
@@ -232,6 +232,10 @@
   {-# NOINLINE gt #-}
   x  `eq` y = unsafePerformIO (C.casadi_eq__1 x y)
   {-# NOINLINE eq #-}
+  max' x y = cmax x y
+  {-# NOINLINE max' #-}
+  min' x y = cmin x y
+  {-# NOINLINE min' #-}
 
 instance Erf SX where
   erf x = unsafePerformIO (C.casadi_erf__1 x)
