This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[letterpaper, 11pt]{article} | |
\usepackage{amsmath} | |
\title{This is the title of this document.} | |
\author{Changhyun Kwon} | |
\date{October 31, 2014} | |
\begin{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\Preamble{xhtml} | |
\Configure{$}{\PicMath}{\EndPicMath}{} | |
\Configure{PicMath}{}{}{}{class=’’math’’; align=’’absmiddle’’} | |
\Configure{graphics*} | |
{pdf} | |
{\Needs{"convert \csname Gin@base\endcsname.pdf | |
\csname Gin@base\endcsname.png"}% | |
\Picture[pict]{\csname Gin@base\endcsname.png}% | |
\special{t4ht+@File: \csname Gin@base\endcsname.png} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using JuMP, Gurobi | |
m = Model(solver=GurobiSolver()) | |
@defVar(m, x <= 5) | |
@defVar(m, y >= 45) | |
@setObjective(m, Min, x + y) | |
@addConstraint(m, 50x + 24y <= 2400) | |
@addConstraint(m, 30x + 33y <= 2100) | |
status = solve(m) | |
println("Optimal objective: ", getObjectiveValue(m)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using JuMP, CPLEX | |
m = Model(solver=CplexSolver()) | |
@defVar(m, x <= 5) | |
@defVar(m, y <= 45) | |
@setObjective(m, Min, x + y) | |
@addConstraint(m, 50x + 24y <= 2400) | |
@addConstraint(m, 30x + 33y <= 2100) | |
status = solve(m) | |
println("Optimal objective: ",getObjectiveValue(m)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[11pt]{article} | |
\usepackage{layouts} | |
\begin{document} | |
default baselineskip: \the\baselineskip | |
\drawfontframelabel{ g x N h } | |
\drawfontframelabel{ g x N h ( ) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using JuMP, GLPK | |
m = Model(with_optimizer(GLPK.Optimizer)) | |
@variable(m, x1 >= 0) | |
@variable(m, x2 >= 0) | |
@objective(m, Max, 3x1 + 5x2) | |
@constraint(m, c1, x1 <= 4) | |
@constraint(m, c2, 2x2 <= 12) | |
@constraint(m, c3, 3x1 + 2x2 <= 18) | |
optimize!(m) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.