| |||||||||||||||
| |||||||||||||||
|
10 best solutions with the MIP solution enumerator Description We take the power generation problem stored in hpw15.mps which seeks to
optimise the operating pattern of a group of electricity generators. We
run the MIP solution enumerator on the problem using the default setup
obtaining the best 10 solutions. The best 10 solutions are stored to a
MIP solution pool. The solutions' objectives and solution values are
printed to screen.
Source Files By clicking on a file name, a preview is opened at the bottom of this page.
Data Files MipSolEnum.csproj
<?xml version="1.0" encoding="UTF-8" standalone="no"?><Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<XpressExampleFiles Condition="'$(XpressExampleFiles)'==''">../../data</XpressExampleFiles>
</PropertyGroup>
<ItemGroup>
<Content Include="$(XpressExampleFiles)/hpw15.mps">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<PackageReference Include="FICO.Xpress.XPRSdn" Version="46.1.1"/> <!-- Version 46.01.01 or later -->
</ItemGroup>
<!-- This is for execution with "dotnet run" and friends which runs from the project directory rather than the output directory. -->
<Target AfterTargets="AfterBuild" Name="CopyExampleData">
<Copy DestinationFolder="$(ProjectDir)" SourceFiles="$(XpressExampleFiles)/hpw15.mps"/>
</Target>
</Project>
| |||||||||||||||
| © Copyright 2025 Fair Isaac Corporation. |