The document provides installation instructions for Industrial Modeling & Programming Language (IMPL). It describes downloading and installing prerequisite software in a specified order, including Microsoft Visual C++ 2010 Redistributable, Intel Visual Fortran Compiler, Python 2.3.5, Dia diagramming software, and IMPL files. Once prerequisites are installed, IMPL can be run from the command line by specifying an IML file and solver. The document also provides steps for installing UOPSS shapes and sheets into Dia for building process flowsheets.
"Exploring the Essential Functions and Design Considerations of Spillways in ...
Installation Guide for Industrial Modeling & Programming Language (IMPL
1.
i
M
P
l
Industrial
Modeling
&
Programming
Language
"Installation
Manual"
i
n
d
u
s
t
r
I
A
L
g
o
r
i
t
h
m
s
LLC.
www.industrialgorithms.com
Version
1.0
April
2014
IAL-‐IMPL-‐IMW-‐1-‐0.docx
Copyright
and
Property
of
Industrial
Algorithms
LLC.
2. Introduction
The
installation
of
IMPL
is
a
straightforward
procedure
and
requires
the
following
prerequisites:
two
redistributable
components
from
Microsoft
and
Intel
,
two
open-‐source
applications
called
Dia
and
Matplotlib
(with
NumPy)
as
well
as
two
versions
of
the
freely
useable
and
distributable
Python
programming
language
where
it
is
important
to
install
each
component
in
the
order
that
they
are
found
in
this
manual.
Note
that
Dia,
Matplotlib
and
Python
are
only
required
to
create
a
model’s
flowsheet
graphically
and
to
view
a
solution’s
data
in
a
Gantt
chart
with
trend
plots.
If
IMPL
only
is
required
then
only
Microsoft
and
Intel
redistributable
packages
must
be
installed.
It
is
also
possible
to
install
the
free
Notepad++
to
help
configure
IML
files
with
syntax
highlighting.
In
addition,
the
free
Visual
Studio
2010
C++
Express
may
also
be
installed
to
write
C
or
C++
programs
calling
IPL
similar
to
the
IMPL
console
program
as
well
as
to
increase
the
stack-‐size
of
Microsoft
Excel
to
call
IPL
from
VBA.
After
the
prerequisites
have
been
installed,
the
installation
of
IMPL
itself
is
simply
a
matter
of
extracting
the
files
from
the
IMPL.zip
file
into
directory
such
as
C:IMPL.
To
run
IMPL
from
a
DOS
command
window
prompt
or
console,
type
inside
the
C:IMPL
directory
the
following:
impl –feed=IMLfile –filter=logistics|quality –fork=coinmp|glpk|lpsolve|ipopt|slpqpe_
where
IMLfile is
your
*.iml
filename
without
the
IML
extension
and
select
either
coinmp, glpk or
lpsolve
as
the
MILP
solver
with
logistics and
ipopt, slpqpe_coinmp, slpqpe_glpk or
slpqpe_lpsolve
with
quality as
the
NLP
solver.
Download
and
Install
the
Microsoft
Visual
Studio
C++
2010
Redistributable
Package
(x86)
Download
the
file
vcredist_x86.exe
from
the
following
website:
http://www.microsoft.com/en-‐us/download/confirmation.aspx?id=5555
3. Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
This
component
is
required
given
that
Intel
Visual
Fortran
for
Windows
uses
several
Microsoft
C++
routines.
Download
and
Install
the
Intel
Visual
Fortran
Composer
XE
2013
for
Windows
Redistributable
Library
Package
(Update
4)
Download
the
file
w_fcompxe_redist_msi_2013.4.190.zip
from
the
following
website:
http://software.intel.com/en-‐us/articles/redistributable-‐libraries-‐for-‐intel-‐c-‐and-‐visual-‐fortran-‐
composer-‐xe-‐2013-‐for-‐windows
Install
this
component
on
your
computer
by
double-‐clicking
on
the
zip
file
and
then
double-‐clicking
on
the
self-‐extracting
file
w_fcompxe_redist_ia32_2013.4.190.msi.
Download
and
Install
the
Python
2.3.5
Programming
Language
Download
the
file
python-‐2.3.5.exe
from
the
following
website:
https://www.python.org/download/releases/2.3.5/
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
Download
and
Install
the
Dia
Application
with
UOPSS
Shapes
&
Sheet
Download
the
file
dia-‐setup-‐0.97.2-‐2-‐unsigned.exe
from
the
following
website:
http://dia-‐installer.de/download/index.html.en
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable
and
during
the
procedure
be
sure
to
check
the
Python
2.3.5
plug-‐in
option.
Once
the
Dia
has
been
installed
with
Python
2.3.5,
we
need
to
install
the
UOPSS
shapes
and
sheet
as
well
as
the
IALConstructer.py
found
in
the
compressed
file
IALConstructer.zip
which
allows
the
construction
of
a
UOPSS
flowsheet
(i.e.,
the
creation
of
the
*.ups
file).
Below
are
the
following
steps:
4.
1. Open
then
close
Dia.
This
will
create
the
necessary
user
sub-‐directories
i.e.,
C:Usersxxx.diashapes
and
C:Usersxxx.diasheets
where
xxx
is
your
username.
2. From
the
zip
file
IALConstructer.zip
extract
its
contents
to
a
temporary
directory.
3. Copy
all
of
the
files
with
the
extension
*.png
and
*.shape
to
the
sub-‐directory
C:Usersxxx.diashapes.
4. Copy
the
file
UOPSS.
sheet
to
the
sub-‐directory
C:Usersxxx.diasheets.
5. Copy
the
file
IALConstructer.py
to
the
sub-‐directory
C:Program
Files
(x86)Dia.
When
you
open
Dia
again
you
will
see
a
menu
item
labeled
industrIALgorithms
which
will
have
a
drop-‐
down
item
called
IALConstructer.
The
IALConstructer
will
create
the
UOPSS
shapes
and
place
them
into
a
*.ups
file
whose
file
name
will
be
the
same
as
the
drawing
name
in
Dia.
Download
and
Install
the
Python
2.7
Programming
Language
Download
the
file
python-‐2.7.msi
(Windows
x86
MSI
Installer
(sig))
from
the
following
website:
https://www.python.org/download/releases/2.7/
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
Download
and
Install
the
NumPy
1.6.2
Application
(Prerequisite
for
Matplotlib)
Download
the
file
numpy-‐1.6.2-‐win32-‐superpack-‐python2.7.exe
from
the
following
website:
http://sourceforge.net/projects/numpy/files/NumPy/1.6.2/
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
Download
and
Install
the
Matplotlib
1.1.0
Application
Download
the
file
matplotlib-‐1.1.0.win32-‐py2.7.exe
from
the
following
website:
5. http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-‐1.1.0/
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
The
files
IALViewerQL.py
and
IALViewerQQ.py
provided
in
the
IMPL.zip
file
can
be
used
to
read
any
*.exl
solution-‐data
file
from
IMPL
and
it
will
use
the
Gantt
charting
capability
in
Matplotlib
to
view
the
UOPSS
quantity,
logic
(logistics)
and
quality
details
over
time.
Download
and
Install
the
Notepad++
Application
Download
the
file
npp.6.5.5.Installer.exe
from
the
following
website:
http://notepad-‐plus-‐plus.org/download/v6.5.5.html
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
The
file
IML.xml
provided
in
the
IMPL.zip
file
can
be
imported
into
Notepad++
by
clicking
on
the
menu
item
“Language”,
clicking
“Define
your
language…”
and
then
clicking
“Import”
which
will
open
a
dialog
box
to
locate
and
input
the
IML.xml
file.
It
is
also
possible
for
Notepad++
to
host
running
applications
such
as
the
IALViewerQL.py.
In
the
directory
C:UsersxxxAppDataRoamingNotepad++
the
file
shortcuts.xml
can
be
edited
to
include
the
following:
<UserDefinedCommands>
<Command name="Run IALViewerQL" Ctrl="no" Alt="no" Shift="no" Key="119">cmd /K
C:Python27python.exe c:IMPLIALViewerQL.py $(FULL_CURRENT_PATH)</Command>
</UserDefinedCommands>
This
will
run
IALViewerQL.py
inside
a
DOS
command
window
from
within
Notepad++.
Download
and
Install
the
Microsoft
Visual
Studio
2010
C++
Express
Application
(Required
to
Increase
Stack-‐Size
of
Microsoft
Excel
VBA)
6.
Download
the
file
vc_web.exe
from
the
following
website:
http://www.visualstudio.com/en-‐us/downloads#d-‐2010-‐express
Install
this
component
on
your
computer
by
double-‐clicking
on
this
self-‐extracting
executable.
This
will
install
Microsoft
Visual
Studio
C++
Express
which
allows
you
to
write
C
or
C++
programs
and
it
is
free
similar
to
the
IMPL
console
executable
program.
We
also
require
it
for
IMPL
in
order
to
allow
the
stack-‐size
of
Microsoft
Excel
VBA
to
be
increased
in
order
to
IPL
from
Excel.
Once
it
is
installed,
go
to
the
Microsoft
START
button
or
symbol
and
click
All
Programs.
Search
for
Microsoft
Visual
Studio
2010
Express
and
click
on
it
and
then
right
click
on
the
Visual
Studio
Command
Prompt
(2010)
and
open
it
as
Run
as
administrator.
Then,
inside
the
command
prompt
change
the
directory
to
C:Program
Files
(x86)Microsoft
OfficeOffice12
for
example
or
wherever
your
EXCEL.EXE
file
is
located.
At
the
command
prompt
type:
editbin /stack:4000000,4000000 excel.exe
This
will
increase
both
the
reserve
and
commit
stack-‐sizes
to
4MB
which
will
allow
IMPL
to
run
inside
Microsoft
Excel
VBA
without
getting
the
“out
of
stack”
error
message.
You
will
only
need
to
run
the
above
command
once.