Hi,
I’m using the SBB solver as MINLP.
in my model have some equations that the variables are very small, between [0.001 , 0.1]. So I use “.scale”.
But some equations still have this problem.
Some equations have power lower than 1 (ex. var**0.47), so I change the equation to ( var1 100 =e= …var47; )
Solve the problem but transfer to the other equation the same situation.
Now I’m trying to “.scale” the equations.
But I’d like to know if is the correct form to solve this problems.
Some have something to share.
inmi(nnd).. ir(nnd)*ir1(nnd) =g= 0.0055;
inmi1(nnd).. ir1(nnd)**100 =e= qr(nnd)**(47)*arcbin(nnd);
inma(nnd).. (ir(nnd)**3)*(qr(nnd)**2) =l= (2.73**3)*arcbin(nnd);
cprm(nn,d).. lr(nn,d) =e= ir(nn,d)*distxy(nn) ;
manning(nnd).. mann*qr(nnd)*pm1(nnd) =e= am1(nnd)*ir2(nnd)*arcbin(nnd);
amol1(nnd).. am1(nnd)**3 =e= am(nnd)**5;
pmol1(nnd).. pm1(nnd)**3 =e= pm(nnd)**2;
inmi2(nnd).. ir2(nnd)**2 =e= ir(nnd)*arcbin(nnd);
angull(nn,d).. thetaa(nn,d) =e= 2*yr(nn,d)/dc(d)*arcbin(nn,d);
angul(nn,d).. theta(nn,d) =e= 2*arccos(1-thetaa(nn,d))*arcbin(nn,d)
*arcbin(nn,d);
frud(nnd).. fr(nnd)*fr1(nnd) =e= fr2(nnd);
frud1(nnd).. fr1(nnd) =e= sqrt(g*am(nnd))*am(nnd);
frud2(nnd).. fr2(nnd) =e= qr(nnd)*b(nnd)*arcbin(nnd);
The .lst show errors like
inmi(n1,n2,d1): Infeasible row with only small Jacobian elements.
inmi(n1,n2,d2): Infeasible row with only small Jacobian elements.
inmi(n1,n2,d3): Infeasible row with only small Jacobian elements.
inmi(n1,n2,d4): Infeasible row with only small Jacobian elements.
inmi(n1,n2,d5): Infeasible row with only small Jacobian elements.
inmi(n1,n2,d6): Infeasible row with only small Jacobian elements.
inmi1(n1,n2,d1): All Jacobian elements in the row are very small.
inmi1(n1,n2,d2): All Jacobian elements in the row are very small.
inmi1(n1,n2,d3): All Jacobian elements in the row are very small.
inmi1(n1,n2,d4): All Jacobian elements in the row are very small.
inmi1(n1,n2,d5): All Jacobian elements in the row are very small.
inmi1(n1,n2,d6): All Jacobian elements in the row are very small.
inmi2(n1,n2,d1): All Jacobian elements in the row are very small.
inmi2(n1,n2,d2): All Jacobian elements in the row are very small.
inmi2(n1,n2,d3): All Jacobian elements in the row are very small.
inmi2(n1,n2,d4): All Jacobian elements in the row are very small.
inmi2(n1,n2,d5): All Jacobian elements in the row are very small.
inmi2(n1,n2,d6): All Jacobian elements in the row are very small.
manning(n1,n2,d1): All Jacobian elements in the row are very small.
manning(n1,n2,d2): All Jacobian elements in the row are very small.
manning(n1,n2,d3): All Jacobian elements in the row are very small.
manning(n1,n2,d4): All Jacobian elements in the row are very small.
manning(n1,n2,d5): All Jacobian elements in the row are very small.
manning(n1,n2,d6): All Jacobian elements in the row are very small.
amol1(n1,n2,d1): All Jacobian elements in the row are very small.
amol1(n1,n2,d2): All Jacobian elements in the row are very small.
amol1(n1,n2,d3): All Jacobian elements in the row are very small.
amol1(n1,n2,d4): All Jacobian elements in the row are very small.
amol1(n1,n2,d5): All Jacobian elements in the row are very small.
amol1(n1,n2,d6): All Jacobian elements in the row are very small.
pmol1(n1,n2,d1): All Jacobian elements in the row are very small.
pmol1(n1,n2,d2): All Jacobian elements in the row are very small.
pmol1(n1,n2,d3): All Jacobian elements in the row are very small.
pmol1(n1,n2,d4): All Jacobian elements in the row are very small.
pmol1(n1,n2,d5): All Jacobian elements in the row are very small.
pmol1(n1,n2,d6): All Jacobian elements in the row are very small.
cofan(n1,n2,d1): All Jacobian elements in the row are very small.
cofan(n1,n2,d2): All Jacobian elements in the row are very small.
cofan(n1,n2,d3): All Jacobian elements in the row are very small.
cofan(n1,n2,d4): All Jacobian elements in the row are very small.
cofan(n1,n2,d5): All Jacobian elements in the row are very small.
cofan(n1,n2,d6): All Jacobian elements in the row are very small.
cofan(n2,n1,d1): All Jacobian elements in the row are very small.
cofan(n2,n1,d2): All Jacobian elements in the row are very small.
cofan(n2,n1,d3): All Jacobian elements in the row are very small.
cofan(n2,n1,d4): All Jacobian elements in the row are very small.
cofan(n2,n1,d5): All Jacobian elements in the row are very small.
cofan(n2,n1,d6): All Jacobian elements in the row are very small.
and
**** ERRORS/WARNINGS IN EQUATION angul(n1,n2,d1)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n1,n2,d2)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n1,n2,d3)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n1,n2,d4)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n1,n2,d5)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n1,n2,d6)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n2,n1,d1)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n2,n1,d2)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n2,n1,d3)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n2,n1,d4)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n2,n1,d5)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION angul(n2,n1,d6)
5 warning(s): arccos: GRAD SINGULAR: x = 1
**** ERRORS/WARNINGS IN EQUATION frud1(n1,n2,d1)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION frud1(n1,n2,d2)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION frud1(n1,n2,d3)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION frud1(n1,n2,d4)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION frud1(n1,n2,d5)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION frud1(n1,n2,d6)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION vel(n1,n2,d1)
5 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n1,n2,d2)
5 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n1,n2,d3)
5 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n1,n2,d4)
5 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n1,n2,d5)
5 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n1,n2,d6)
5 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n2,n1,d1)
6 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n2,n1,d2)
6 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n2,n1,d3)
6 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n2,n1,d4)
6 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n2,n1,d5)
6 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION vel(n2,n1,d6)
6 warning(s): vcPower: GRAD SINGULAR: x**c, x=0, 0<c<1
**** ERRORS/WARNINGS IN EQUATION velc(n1,n2,d1)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION velc(n1,n2,d2)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION velc(n1,n2,d3)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION velc(n1,n2,d4)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION velc(n1,n2,d5)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
**** ERRORS/WARNINGS IN EQUATION velc(n1,n2,d6)
5 warning(s): sqrt: GRAD SINGULAR: x = 0
Thanks