Hosting an Opt-Server

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. Use your Advanced free trial to set up your Optimization Server.
  • 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 tools you want your optimization server to support — ampl, gams, python3, oplrun, etc — you will need to install them yourself. You don't have to do that right now. Later in these guides you will find instructions on how set up some popular mathematical programming tools, such as AMPL and GAMS.

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

> wget https://pifop.com/download/opt-server.zip


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

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


STEP 3. The first time that you run the Opt-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 to 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. See Configure Opt-Server Commands to learn how.

Terms and Privacy Help Pricing About Blog Contact us Server Status Twitter LinkedIn