/usr/share/doc/coinor-libflopc++-doc/html/flopc_8hpp_source.html is in coinor-libflopc++-doc 1.0.6-3.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>FLOPC++: flopc.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.4 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">FLOPC++</div>
</td>
</tr>
</tbody>
</table>
</div>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
<li><a href="globals.html"><span>File Members</span></a></li>
</ul>
</div>
<div class="header">
<div class="headertitle">
<div class="title">flopc.hpp</div> </div>
</div>
<div class="contents">
<a href="flopc_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// ******************** FlopCpp **********************************************</span>
<a name="l00002"></a>00002 <span class="comment">// File: flopc.hpp</span>
<a name="l00003"></a>00003 <span class="comment">// $Id$</span>
<a name="l00004"></a>00004 <span class="comment">// Author: Tim Helge Hultberg (thh@mat.ua.pt)</span>
<a name="l00005"></a>00005 <span class="comment">// Copyright (C) 2003 Tim Helge Hultberg</span>
<a name="l00006"></a>00006 <span class="comment">// All Rights Reserved.</span>
<a name="l00007"></a>00007 <span class="comment">// ****************************************************************************</span>
<a name="l00008"></a>00008
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef _flopc_hpp_</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define _flopc_hpp_</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="MP__variable_8hpp.html">MP_variable.hpp</a>"</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="MP__set_8hpp.html">MP_set.hpp</a>"</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="MP__index_8hpp.html">MP_index.hpp</a>"</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include "<a class="code" href="MP__constant_8hpp.html">MP_constant.hpp</a>"</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include "<a class="code" href="MP__data_8hpp.html">MP_data.hpp</a>"</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include "<a class="code" href="MP__constraint_8hpp.html">MP_constraint.hpp</a>"</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include "<a class="code" href="MP__expression_8hpp.html">MP_expression.hpp</a>"</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include "<a class="code" href="MP__boolean_8hpp.html">MP_boolean.hpp</a>"</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include "<a class="code" href="MP__model_8hpp.html">MP_model.hpp</a>"</span>
<a name="l00021"></a>00021
<a name="l00049"></a>00049 <span class="keyword">namespace </span>flopc {
<a name="l00050"></a>00050
<a name="l00055"></a><a class="code" href="group__PublicInterface.html#gac451e2ea693447877a0515614c85426e">00055</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__PublicInterface.html#gac451e2ea693447877a0515614c85426e" title="Global function for performing a Functor on each member of a MP_domain.">forall</a>(<span class="keyword">const</span> <a class="code" href="classflopc_1_1MP__domain.html" title="Range over which some other constuct is defined.This is one of the main public interface classes...">MP_domain</a>& d, <span class="keyword">const</span> <a class="code" href="classflopc_1_1Functor.html" title="Function object. Often used.">Functor</a>& f) {
<a name="l00056"></a>00056 d.<a class="code" href="classflopc_1_1MP__domain.html#a26cc5e371872b6d6f0a0778083a81e68" title="Special conditional operation on the domain.">forall</a>(&f);
<a name="l00057"></a>00057 }
<a name="l00058"></a>00058
<a name="l00064"></a><a class="code" href="group__PublicInterface.html#ga3cc3cd331302da52a7928f97b455f610">00064</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__PublicInterface.html#gac451e2ea693447877a0515614c85426e" title="Global function for performing a Functor on each member of a MP_domain.">forall</a>(<span class="keyword">const</span> <a class="code" href="classflopc_1_1Functor.html" title="Function object. Often used.">Functor</a>& f) {
<a name="l00065"></a>00065 <a class="code" href="group__PublicInterface.html#gac451e2ea693447877a0515614c85426e" title="Global function for performing a Functor on each member of a MP_domain.">forall</a>(<a class="code" href="classflopc_1_1MP__domain.html#acd2840f77274ad4bbdd481ce3223f4d0" title="returns a reference to the "empty" set.">MP_domain::getEmpty</a>(), f);
<a name="l00066"></a>00066 }
<a name="l00067"></a>00067
<a name="l00072"></a><a class="code" href="group__PublicInterface.html#ga8266ebe894c3e5996a9510c2800ad10e">00072</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__PublicInterface.html#ga8266ebe894c3e5996a9510c2800ad10e" title="Global function which copies members of MP_domain d into another (possibly non-empty) MP_domain...">operator<<=</a>(<span class="keyword">const</span> <a class="code" href="classflopc_1_1MP__domain.html" title="Range over which some other constuct is defined.This is one of the main public interface classes...">MP_domain</a>& s, <span class="keyword">const</span> <a class="code" href="classflopc_1_1MP__domain.html" title="Range over which some other constuct is defined.This is one of the main public interface classes...">MP_domain</a>& d) {
<a name="l00073"></a>00073 d.<a class="code" href="classflopc_1_1MP__domain.html#a26cc5e371872b6d6f0a0778083a81e68" title="Special conditional operation on the domain.">forall</a>( s->makeInsertFunctor());
<a name="l00074"></a>00074 }
<a name="l00075"></a>00075
<a name="l00083"></a><a class="code" href="group__PublicInterface.html#gaa21d4cb388c9ff409699bc7f9cb5ebce">00083</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__PublicInterface.html#gaa21d4cb388c9ff409699bc7f9cb5ebce" title="This is one of the main entry points for executionThis calls the OsiSolverInterface to execute the so...">minimize</a>(<span class="keyword">const</span> <a class="code" href="classflopc_1_1MP__expression.html" title="Symbolic representation of a linear expression.This is one of the main public interface classes...">MP_expression</a> &obj) {
<a name="l00084"></a>00084 <a class="code" href="classflopc_1_1MP__model.html#a564617879e4746586517cc6ebdcd8c2c">MP_model::getDefaultModel</a>().<a class="code" href="classflopc_1_1MP__model.html#ae2a06b353cad7f7749b20404885dd0dc">minimize</a>(obj);
<a name="l00085"></a>00085 }
<a name="l00086"></a>00086
<a name="l00095"></a><a class="code" href="group__PublicInterface.html#gac62b7b4179652679b35863d47667f589">00095</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__PublicInterface.html#gac62b7b4179652679b35863d47667f589" title="This is one of the main entry points for executionThis calls the OsiSolverInterface to execute the so...">minimize_max</a>(<a class="code" href="classflopc_1_1MP__set.html" title="Representation of a set for indexing into some other construct.This is one of the main public interfa...">MP_set</a>& d, <span class="keyword">const</span> <a class="code" href="classflopc_1_1MP__expression.html" title="Symbolic representation of a linear expression.This is one of the main public interface classes...">MP_expression</a> &obj) {
<a name="l00096"></a>00096 <a class="code" href="classflopc_1_1MP__model.html#a564617879e4746586517cc6ebdcd8c2c">MP_model::getDefaultModel</a>().<a class="code" href="classflopc_1_1MP__model.html#acfd4b795cadafeb2b691083709e62ea6">minimize_max</a>(d,obj);
<a name="l00097"></a>00097 }
<a name="l00098"></a>00098
<a name="l00106"></a><a class="code" href="group__PublicInterface.html#gac695ebeff2c6acc165e23cbf3469fb10">00106</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__PublicInterface.html#gac695ebeff2c6acc165e23cbf3469fb10" title="This is one of the main entry points for executionThis calls the OsiSolverInterface to execute the so...">maximize</a>(<span class="keyword">const</span> <a class="code" href="classflopc_1_1MP__expression.html" title="Symbolic representation of a linear expression.This is one of the main public interface classes...">MP_expression</a> &obj) {
<a name="l00107"></a>00107 <a class="code" href="classflopc_1_1MP__model.html#a564617879e4746586517cc6ebdcd8c2c">MP_model::getDefaultModel</a>().<a class="code" href="classflopc_1_1MP__model.html#a02811c5bd150ef7a96cef9ec356c7a02">maximize</a>(obj);
<a name="l00108"></a>00108 }
<a name="l00109"></a>00109
<a name="l00110"></a>00110 } <span class="comment">// End of namespace flopc</span>
<a name="l00111"></a>00111 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Tue Jun 28 2011 23:46:24 for FLOPC++ by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
|