11 lines
251 B
Mathematica
11 lines
251 B
Mathematica
|
|
function output = calllindo(interfacedata)
|
||
|
|
|
||
|
|
switch interfacedata.solver.tag
|
||
|
|
|
||
|
|
case {'lindo-NLP'}
|
||
|
|
output = calllindo_nlp(interfacedata);
|
||
|
|
case {'lindo-MIQP'}
|
||
|
|
output = calllindo_miqp(interfacedata);
|
||
|
|
otherwise
|
||
|
|
error;
|
||
|
|
end
|