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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% iaf-iac.cls, v0.0, 2018-09-24 | |
% Developed by Matt Vernacchia, [email protected] | |
% | |
% This class file enables authors to prepare papers | |
% according to the manuscript style requested by the | |
% International Astronautical Federation (IAF) for | |
% submissions to the International Astronautical | |
% Congress (IAC) | |
% |
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
"""Minimum working example of Issue 1390 | |
See https://github.com/convexengineering/gpkit/issues/1390 | |
""" | |
import traceback | |
from gpkit import Model, Variable, units, DimensionalityError | |
from gpkit.constraints.tight import Tight | |
class DummyModelRad(Model): | |
"""This one replicates the original error.""" |
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
"""Minimum working example to generate glp_add_cols issue with an integer linear program in CVXPY. | |
""" | |
import cvxpy as cp | |
import numpy as np | |
n = 4 | |
x = cp.Variable(n, integer=True) | |
A = np.array( |
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
"""Minimum working example to generate glp_add_cols issue with an integer linear program in CVXPY. | |
""" | |
import cvxpy as cp | |
import numpy as np | |
n = 4 | |
x = cp.Variable(n, integer=True) | |
A = np.array( |
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
r"""This script process a latex document to remove certain blocks, | |
but keep the text within them. | |
This is useful for preparing paper revisions for the AIAA journals, | |
which ask for both: | |
- a pdf of the revised paper with the revisions colored, and | |
- a "clean" latex file of the revised paper, without the coloring blocks. | |
Thus, the author can create a latex file with the revised passages wrapped in | |
`\textcolor{blue}{...}` blocks, and then run |