Maximize::consf Minimize::consf Reduce`Infimum::consf Reduce`Supremum::consf

Details

  • This message is generated when an expression listed after the objective function is not an equation, inequality, or domain specification.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[Maximize::consf].

Examples

Basic Examples  (1)

An error occurs because the objective function is expected to be the first element in the first argument of Minimize:

This shows a valid use of Minimize: