read_Xu_problem_from_Xu_file: Read a Xu benchmark problem formatted according to the format...

read_Xu_problem_from_Xu_fileR Documentation

Read a Xu benchmark problem formatted according to the format proposed by Xu.

Description

Xu defined a file format for storing benchmark problems created using his method. This format stores attributes of the problem, but doesn't store the correct solution or the parameters used to create the problem. bdpg can still use these files and problems as inputs to create a problem that can be used as input to reserve selectors. The names of the files provided by Xu contain the cost of the correct solution even though no information is given about which nodes provide that solution. Consequently, you can know the cost of the solution that should be returned by the reserve selector, but not know the solution itself. This means that you can also generate apparent solutions as well, since they generally don't need to know what nodes were in the correct solution. However, it means that you can't generate wrapped problems using the benchmark problems because the wrapping (at least right now) relies on knowing which nodes are in the correct solution.

Usage

read_Xu_problem_from_Xu_file(infile_name, correct_solution_cost)

Arguments

infile_name

File path describing a Xu problem

correct_solution_cost

Numeric value of cost of solution (since problems read from one of Xu's benchmark files have their cost given somewhere other than in the file)

Value

RETURN_DESCRIPTION

Examples

# ADD_EXAMPLES_HERE


langfob/bdpg documentation built on Dec. 8, 2022, 5:33 a.m.