simopt-admin / simopt

A testbed of simulation-optimization problems and solvers
MIT License
56 stars 24 forks source link

Allow arbitrary number of arcs in SAN #5

Closed Mark-L-Stone closed 4 years ago

Mark-L-Stone commented 4 years ago

"Upgrade" request for SAN. Rather than the number of arcs being fixed at 13, make the number of arcs an input parameter, with no limit on how large the number of arcs can be. Provide this capability for both objective function and gradient.

simopt-admin commented 4 years ago

Thank you very much for your suggestion! On the RNDSAN branch, there is a problem (SANRND) which generates random stochastic activity networks. The number of nodes and arcs can be given as inputs. We are also developing this kind of generalized SAN problem on the python branch.

Mark-L-Stone commented 4 years ago

I found the RNDSAN branch at https://github.com/simopt-admin/simopt/tree/RNDSAN/Problems/SAN . But i see there only code for 13 arcs and 9 nodes. Can you provide a link or detailed instructions on how to get the m file for which the number of nodes and arcs can be given as inputs?

Thanks.

simopt-admin commented 4 years ago

Here is a link to the SANRND problem on the RNDSAN branch: https://github.com/simopt-admin/simopt/tree/RNDSAN/Problems/SANRND. See SANRNDGenerate.m in particular. The RunWrapper.m function in the Experiments folder on that branch is also modified to generate random problem instances.

In general, you should be able to switch between branches by clicking into a dropdown menu in the upper-left corner: branches