%% Create and Modify Default Interior-Point QP Solver Option Set
% Create a default option set.

opt = mpcInteriorPointOptions;

%
% Specify the maximum number of iterations allowed during computation.

opt.MaxIterations = 100;

%
% Specify a constraint tolerance for verifying that the optimal solution satisfies the inequality constraints.

opt.ConstraintTolerance = 1.0e-4;

% Copyright 2019 The MathWorks, Inc.