function output = callcplexint(interfacedata) % Author Johan Löfberg % $Id: callcplexint.m,v 1.19 2006/07/13 14:48:55 joloef Exp $ % Retrieve needed data options = interfacedata.options; F_struc = interfacedata.F_struc; c = interfacedata.c; Q = interfacedata.Q; K = interfacedata.K; x0 = interfacedata.x0; integer_variables = interfacedata.integer_variables; binary_variables = interfacedata.binary_variables; UB = interfacedata.ub; LB = interfacedata.lb; showprogress('Calling CPLEXINT',options.showprogress); SENSE = 1; C = full(c); if K.l+K.f+K.q == 0 A = zeros(1,length(c));A(1)=1; B = 1e6; % A = []; % b = []; else A =-(F_struc(1:K.f+K.l,2:end)); B = full(F_struc(1:K.f+K.l,1)); end INDEQ = []; if K.f>0 INDEQ(1:K.f) = 1:K.f; end if K.q(1)>0 top = K.f+K.l + 1; for i = 1:length(K.q) % [cx+d;Ax+b] |Ax+b|