How to optimize k*x <= epsilon?

2 vues (au cours des 30 derniers jours)
hello_world
hello_world le 12 Août 2016
Modifié(e) : Torsten le 12 Août 2016
Hello Friends,
I want to optimize, i.e., find the optimal value of k in the following problem:
max k*x <= epsilon
How to find the maximum value of k for a given matrix x and some epsilon, say, 0.1?
I will appreciate any advise!

Réponse acceptée

Torsten
Torsten le 12 Août 2016
Modifié(e) : Torsten le 12 Août 2016
Please state your problem more clearly.
k is a scalar and epsilon is a matrix with all elements equal to Epsilon, and you want to determine the maximum value of k such that k*x <= epsilon holds elementwise ?
In this case, the optimum k_opt is given by
k_opt = epsilon/max(x(:))
Best wishes
Torsten.

Plus de réponses (0)

Catégories

En savoir plus sur Nonlinear Optimization dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by