How to optimize k*x <= epsilon?

조회 수: 3 (최근 30일)
hello_world
hello_world 2016년 8월 12일
편집: Torsten 2016년 8월 12일
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!

채택된 답변

Torsten
Torsten 2016년 8월 12일
편집: Torsten 2016년 8월 12일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinear Optimization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by