Dear feap forum,
I am currently experimenting with the implementation of global constraints via Lagr. Mult., see programmer manual 8.6 section 5.11. Following the instructions there (which is more or less identical to the previous feap programming manual 8.5), I do not achieve a working solution. However, I stumbled upon additional comments in section 5.5.1 regarding global constraints. If I solely set
GLOBal
EQUAtion,,3 ! three global constraint equations
in the input file (directly after first FEAP line) as implied by sec. 5.11, the implementation does not work: The parameter nge, which is mentioned in sec. 5.5.1 is still zero, but the other integer geqnum, which indicates the number of global equations according to sec. 5.11, and hence nst are set properly. Due to nge being zero, the corresponding solution array ulg is not updated, either. It seems to me as if nge is mandatory. Indeed, if i set nge=3 during task 1 in my user element, it works fine - at least with the internal feap solver. Doing so, I can even omit the GLOBal statement in the input file at all and only rely on setting nge=3 during task 1, and still get a working solution.
I am quite confused how to set the necessary integer values correctly. Can you clarify this?
Warm regards,
a118145