This project is related to the NeurIPS 2025 paper "Inverse Optimization Latent Variable Models for Learning Costs Applied to Route Problems".
Related to the Waxman generated graphs and paths experiment. Here you can set the input "mult" to 1 or to 0 to choose between the multiple start/target nodes versus the single start/target nodes experiment.
Related to the taxi trajectories experiment. Please extract the data found in "cabspotting_preprocessing" folder.
Related to the ship trajectories experiment.
Related to the tsp_lib experiment with Hamiltonian cycles generated data.
Main Arguments:
latent_dim: Number of latent dimensions, check the paper for a better grasp on values to choose.method: Most important values are "IOLVM" and "VAE".alpha_klorbeta: KL regularization. Depending on the experiment you might correct the value according to the batch size (e.g., whatever is given in the paper/BS).n_epochs: Number of epochs.eps: The perturbation for gradient estimation, 0.05 generally works fine.lr: Learning Rate, defaults work fine.
Related to the Waxman generated graphs and paths experiment. I saved a IOLVM .pkl and a VAE .pkl for a comparison purpose, but feel free to train with different parameters and try it yourself.