Hosting an Opt-Server

At the moment, only members of our Beta Testing program can host optimization servers. If you are interested in trying out this feature, contact us asking if you can be a Beta Tester.

Follow this guide to get your Opt-Server up and running.

PREREQUISITES. In order to host a PIFOP Optimization Server, you will need:

  • A PIFOP account with optimization server hosting enabled.
  • A Linux 64bit based system. Currently, we use Ubuntu 16.04 for testing, which is based on Linux 4.4. Any Linux distribution based on Linux version 4.4 or greater should be fine.

The PIFOP Optimization Server does not come with any solver or modeling language interpreter. Whatever optimization tool you want your optimization server to support (ampl, gams, oplrun, etc), you need to have them installed in your system.

STEP 1. Download the PIFOP Optimization Server by clicking here, or use the command line:

> wget

STEP 2. Extract it wherever you want, enter the extracted directory and start the Opt-Server.

> unzip
> cd opt-server
> ./opt-server --start

STEP 3. The first time you run the server you will be asked to give it a name.

> ./opt-server --start
Creating configuration file "config.json". (press ctrl+c to exit)
Give your server a name: My Server

STEP 4. After your server connects with our central server, sign-in with your PIFOP account username and password.

Sign in with your PIFOP account:
Username or email: username
Password         :
Do you want to be remembered? (Y/n): y

STEP 5. After successful login, you should see a message saying that your server is now online, but that you still need to configure the commands supported by the Opt-Server.

Server "My Server" is now online.
You still have to configure the commands that this server can execute.

NEXT STEPS: At this point, a configuration file config.json should have been created in the opt-server directory. Now you have to edit this file to configure the commands that you want to support. Learn more at Configure Opt-Server Commands.

Terms and Privacy Help Pricing About Contact us Server Status Twitter