ContentsIndexHome
PreviousUpNext
AIMMS.createDefaultConfig Method

Creates an IConfig, with all members on default. It can be used, potentially modified, to open a session with a different configuration. 

 

Java
public static IConfig createDefaultConfig();

The created IConfig

 

For example, you might want to add additional commandline arguments for starting up AIMMS:

IConfig cfg = AIMMS.createDefaultConfig();
cfg.setAimmsCommandLine("--user john:mypasswd");

ISession session = AIMMS.createSession(
     "tcp://localhost:5432/aimms-3.11",
     "myproject.prj",
     cfg);