alexe15 / ALADIN.m

Other
34 stars 13 forks source link

run_ADMMnew throws error for empty inequalities #100

Closed timueh closed 4 years ago

timueh commented 4 years ago

When I have

>> problem.locFuns.hhi

ans =

  3×1 cell array

    {@(x)[]}
    {@(x)[]}
    {@(x)[]}

then calling run_ADMMnew() stops with

>> run_ADMMnew(problem)
Brace indexing is not supported for variables of this type.

Error in initializeVariables (line 17)
   nnhi{j} = size(sProb.locFunsCas.hhi{j},1);

Error in run_ADMMnew (line 93)
initializeVariables