[SCIP] Problem in using of SCIP
Stefan Vigerske
stefan at math.hu-berlin.de
Thu Sep 27 11:23:52 CEST 2018
Hi,
the function itself (a polynomial) looks like SCIP should be able to
handle this. The nl.instr looks like something that is particular to the
OPTI-toolbox interface to SCIP. Please check with them whether they can
help you with this.
Best,
Stefan
On 9/26/18 7:52 AM, Mahdi Kazemi wrote:
> 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
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
More information about the Scip
mailing list