🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@wuschel-brompf
Copy link

to obtain numerically more robust controllers, usually a slightly suboptimal controller is synthesized after running the first optimization.

@ilayn
Copy link

ilayn commented Nov 4, 2025

Note that this relaxation works typically OK with LMI based design since you introduce slackness but for Riccati based solvers there are no guarantees that this improves the conditioning of the controllers. This is typically due to the bilinear nature of the problem. It works OK for smooth-enough problems though.

Copy link
Member

@murrayrm murrayrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this contribution, @wuschel-brompf. I had a few things that I think should be updated to be consistent with our coding conventions and to provide a bit more information to the user.

Also, we need a unit test that covers the new code.



def hinfsyn(P, nmeas, ncon):
def hinfsyn(P, nmeas, ncon, gamTry=None):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parameter name doesn't not follow python-control naming conventions. From the developer notes:

Use longer description parameter names that describe the action or role (e.g., trajectory_constraints and print_summary in optimal.solve_optimal_trajectory.

I suggest something like target_gamma for this parameter name.

ncon : int
Number of control inputs (output from controller).
gamTry : int, optional
Target performance level (default = None).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this is consistent with the current very terse docstring, I think a bit more information is needed, either here or in a Notes section later in the docstring. Something like:

If target_gamma is specified, then a controller with the target value of $\gamma$ will be generated. This is potentially suboptimal, but save computation time.

@coveralls
Copy link

Coverage Status

coverage: 94.717% (-0.02%) from 94.734%
when pulling 22b533e on wuschel-brompf:robust_hinfsyn_add_suboptimal_synth
into 2435a6a on python-control:main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants