[SCIP] Problem in using of SCIP

Mahdi Kazemi s.m.kazemi74 at gmail.com
Wed Sep 26 07:52:04 CEST 2018


Hi,
I should use opti_scipnl to solve my problem. But in creating nonlinear
constraints, it can accept some function that are declared in
methods(scipvar) and so, opti_scipnl doesn't accept my function. Is there a
solution to accept another function? in this aspect, SCIP is the same
opti_scipnl and doesn't accept another functions?

when I use SCIP, I can't understand these syntax?

nlcon = @(x) 2.5*x(1)*x(2) - 0.2*x(2) + 0.5*x(1) + x(1)*x(1)*x(1);

% SCIP_NUM = 0;
% SCIP_VAR = 1;
% SCIP_MUL = 3;
% SCIP_DIV = 4;
% SCIP_ADD = 5;
% SCIP_SUB = 6;
%
% nl.instr = [SCIP_NUM; 2.5;
%             SCIP_VAR; 0;
%             SCIP_MUL; NaN
%             SCIP_VAR; 1;
%             SCIP_MUL; NaN;
%             SCIP_NUM; 0.2;
%             SCIP_VAR; 1;
%             SCIP_MUL; NaN;
%             SCIP_SUB; NaN;
%             SCIP_NUM; 0.5;
%             SCIP_VAR; 0;
%             SCIP_MUL; NaN;
%             SCIP_ADD; NaN;
%             SCIP_VAR; 0;
%             SCIP_VAR; 0;
%             SCIP_MUL; NaN;
%             SCIP_VAR; 0;
%             SCIP_MUL; NaN;
%             SCIP_ADD; NaN];

Is there a source to use it for these syntax?

Best regards
Seyed Mehdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20180926/e989a8fe/attachment.html>


More information about the Scip mailing list