Skip to content

Commit

Permalink
- update heuristic for nominal in optimization
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18290 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Vitalij Ruge committed Nov 25, 2013
1 parent 3824c33 commit 660e07f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -565,7 +565,7 @@ static int check_nominal(IPOPT_DATA_ *iData, double min, double max, double nomi
{
double tmp = fmin(amax,amin);
if(tmp<1e12)
iData->vnom[i] = tmp;
iData->vnom[i] = fmax(tmp,x0);
else
{
iData->vnom[i] = 1 + x0;
Expand Down

0 comments on commit 660e07f

Please sign in to comment.