Maximize::wksol

Details

  • This message is generated when one or more inequality constraints in Maximize is satisfied as an equality.
  • Off[message] switches off the message; On[message] switches it on. For example: Off[Maximize::wksol].

Examples

Basic Examples  (1)

A warning message is generated because the maximum occurs when the constraint is satisfied as an equality:

This warning can be avoided by replacing x<1 with x1: