<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0"></p>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Hello all,</span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></div>
<div>I've been reading the documentation for a couple of hours, and I cannot understand any but the simplest examples. </div>
<div><br>
</div>
<div>It would be great if there was a worked example, showing what the inequalities look like, and manually loading this values into the model, then running that. Using mps files is too much overhead for my application, and there isn't an easy example of how
 to load the data from in-memory arrays.</div>
<div><br>
</div>
<div><br>
</div>
<div>I have a LP problem of the form:</div>
<div><br>
</div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br>
</span></div>
<div><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">MAX Z = s1 + s2 + s3 </span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">+
 h1 + h2 + h3 + </span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">d1 + d2 + d3</span><span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"> +
 c1 + c2 + c3</span><br>
</div>
<div><br>
</div>
<div>s1 + h1 + d1          = 10<br>
s2 + h2 + c2          = 10<br>
s3 + h3 + d3 + c3  = 10<br>
<br>
s1 + s2 + s3 = 8<br>
h1 + h2 +h3 = 7<br>
d1 + d3        = 7<br>
c2 + c3        = 8<br>
<br>
How do I pass this into the model?</div>
<div><br>
</div>
<div>I'd appreciate any help greatly.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>James<br>
<br>
<br>
</div>
<br>
<p></p>
</div>
</body>
</html>