binaryPoints {gMOIP}R Documentation

Binary (0-1) points in the feasible region (Ax<=b).

Description

Binary (0-1) points in the feasible region (Ax<=b).

Usage

binaryPoints(A, b)

Arguments

A

Constraint matrix.

b

Right hand side.

Value

A data frame with all binary points inside the feasible region.

Note

Do a simple enumeration of all binary points. Will not work if ncol(A) large.

Author(s)

Lars Relund lars@relund.dk.

Examples

A <- matrix( c(3,-2, 1, 2, 4,-2,-3, 2, 1), nc = 3, byrow = TRUE)
b <- c(10, 12, 3)
binaryPoints(A, b)

A <- matrix(c(9, 10, 2, 4, -3, 2), ncol = 2, byrow = TRUE)
b <- c(90, 27, 3)
binaryPoints(A, b)

[Package gMOIP version 1.5.2 Index]