artofscience / SAOR

Sequential Approximate Optimization Repository
GNU General Public License v3.0
5 stars 1 forks source link

Implement EXACTLY the equivalent of the MBB problem from 99 line code, and verify against #118

Open dirkmunro89 opened 2 years ago

dirkmunro89 commented 2 years ago

You can make a specific subsolver which reflects the OC method, and which gives you exactly the same iterations as the default problem in the 99 line code (Python version). By setting CONLIN or the MMA in a particular way, it should also be equivalent (?).

dirkmunro89 commented 2 years ago

To achieve this, I have found that you have to set the bi section threshold to a lower number; that lmid is of course exactly the lagrange multiplier, and its value drive the design (in a dual interpretation).

artofscience commented 2 years ago

To achieve this, I have found that you have to set the bi section threshold to a lower number; that lmid is of course exactly the lagrange multiplier, and its value drive the design (in a dual interpretation).

How can you find the value for the threshold (you mean the stopping criteria right?)

dirkmunro89 commented 2 years ago

I dont understand the question.

Line 165 in the DTU cholmod python code; change the 1e-3 to a smaller value (even 1e-12 seems to work w/o slow down):

while (l2-l1)/(l1+l2)>1e-3:
artofscience commented 2 years ago

I dont understand the question.

Line 165 in the DTU cholmod python code; change the 1e-3 to a smaller value (even 1e-12 seems to work w/o slow down):

while (l2-l1)/(l1+l2)>1e-3:

Okay I understand, so indeed the stopping criteria of the bisection method