跳至主内容
框架 无框架

类IloSolutionManip

定义文件: ilconcert/ilosolution.h
IloSolutionManip的地图IloSolutionManipIloSolutionManip
该类的实例可访问解决方案的特定部分。

要显示解决方案的特定部分,您可以从解决方案和可提取对象中构建 "IloSolutionManip类。 使用该构造类中的 "operator<<,可以显示解决方案中指定可提取对象上存储的信息。

另请参阅:

方法概要
public IloSolutionManip(IloSolution solution, IloExtractable extr)
方法详细信息

IloSolutionManip

publicIloSolutionManip(IloSolution solution,IloExtractable extr)

该构造函数从 "solution指定的解决方案和可提取对象 "extr中创建 "IloSolutionManip实例。 如果 "extr没有添加到 "solution中,构造函数会抛出一个异常("IloException的实例)。 您可以使用新创建的对象 "operator<<来显示存储在 "solution中的 "extr信息。