class_optim: Integer optimization of timetable

Description Usage Arguments Value Author(s)

View source: R/class_optim.R

Description

This function is used to perform the integer optimization using lpSolve::lp.

For more information, please refer to the lpSolve package in R.

Usage

1
class_optim(s, f.obj, f.con, f.dir, core, elective, moment, class)

Arguments

s

Semester to be considered (numerical)

f.obj

Objective function (to be minimized)

f.con

Constraints matrix

f.dir

Sign of equality of constraints (">=", "<=", ...) (numerical vectors)

core

Core credits chosen by the user by semester (numerical value)

elective

Elective credits chosen by the user (numerical value)

moment

Moments chosen by the user (binary vector)

class

Classes chosen by the user (binary vector)

Value

Final choice of classes of user (binary vector)

Author(s)

Group 2 composed of Matteo Gross, Alessia Di Pietro, Martina Celic, Ana Gabriela Garcia, Laura Lo Priore


ptds2021/project--G2 documentation built on Dec. 22, 2021, 9:59 a.m.