<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Richi,<br>
<br>
Semi continuous variables are in Cbc (as a simple version of
lotsizing variables)<br>
<br>
However they is no way of inputting them using mps or lp files.<br>
<br>
Having invented semi-continuous variables (probably before you
were born!), I feel some responsibility to make them easier to use
in Cbc. I will get them working with mps files in trunk.<br>
<br>
John Forrest<br>
On 15/01/18 12:17, richi arora wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1333395389.3119467.1516018663670@mail.yahoo.com">
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;">
<div>
<div style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-stretch: inherit; font-size: 15px; line-height:
inherit; font-family: Arial, "Helvetica Neue",
Helvetica, sans-serif; vertical-align: baseline; clear:
both; color: rgb(36, 39, 41);">Hi</div>
<div style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-stretch: inherit; font-size: 15px; line-height:
inherit; font-family: Arial, "Helvetica Neue",
Helvetica, sans-serif; vertical-align: baseline; clear:
both; color: rgb(36, 39, 41);">I am using version 2.9.9 of
cbc in ubuntu 17.10 docker image. My test.lp file has
following content:</div>
<div style="margin: 0px 0px 1em; padding: 0px; border: 0px;
font-stretch: inherit; font-size: 15px; line-height:
inherit; font-family: Arial, "Helvetica Neue",
Helvetica, sans-serif; vertical-align: baseline; clear:
both; color: rgb(36, 39, 41);">
<pre style="white-space: pre-wrap; font-size: 16px; margin-top: 0px; margin-bottom: 1em; padding: 5px; border: 0px; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; width: auto; background-color: rgb(239, 240, 241); word-wrap: normal; color: rgb(36, 39, 41); min-height: 600px;"><code style="margin: 0px; padding: 0px; border: 0px; font-style: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; vertical-align: baseline; white-space: inherit;">Maximize
obj: x1 + 2 x2 + 3 x3 + x4
Subject To
c1: - x1 + x2 + x3 + 10 x4 <= 20
c2: x1 - 3 x2 + x3 <= 30
c3: x2 - 3.5 x4 = 0
Bounds
0 <= x1 <= 40
2 <= x4 <= 3
General
x4
Semis
x1 x2 x3</code></pre>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>