Also, if all of knitro's options are to be taken advantage of to the
fullest, knitro is not a drop-in replacement for fmincon. knitro can
accept options in fmincon format (optimset), but it can also accept
extended features, for example to specify and specially treat
complementarity constraints, and can also accept a knitro options file,
which if specified, overrides settings in the fmincon (optimset)
options, and provides many options not available under the fmincon
options. It would seem that the knitro options (file options) could be
implemented in one of two ways in YALMIP: either allow each individual
option to be specified, or allow specification of the name of a knitro
options file to be used.